Skip to main content
PUT
Alterar papel de um membro (owner-only)

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ID da organização

userId
string
required

ID do membro alvo

Body

application/json
role
enum<string>
required
Available options:
admin,
member

Response

Papel atualizado