Skip to content
Website API / Team

Remove a member

DELETEhttps://<your Reveata origin>/api/v1/websites/{website}/members/{userId}

Removes a member (admin role), or yourself. The owner cannot be removed. Site keys the member created stop working.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

userIdstringrequired

Pattern: ^[a-f0-9]{24}$

Headers

Authorizationstringrequired

Bearer followed by an account token with the team:write scope.

Response

Removed.

{
  "status": "string",
  "data": {
    "removed": "string"
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.removedtrue