updateWorkspaceMember

Update the member of a workspace

PUT/v1/admin/workspace-members/{id}

Authorization

AuthorizationBearerrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header parameters

x-workspace-idstringrequired
Workspace ID
x-multiple-integrationsstring
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.

Path parameters

idstringrequired
Workspace member ID

Request body

Workspace member metadata

roleenum<string>
Available options:"viewer","billing","developer","manager","administrator","owner"

Response

Success

idstringrequired
userIduuid
(uuid)
emailstringrequired
createdAtstringrequired
roleenum<string>required
Available options:"viewer","billing","developer","manager","administrator","owner"
profilePicturestring
displayNamestring
(max length: 100)