PATCH
/
v3
/
bots
/
{id}
/
collaborators
/
{userId}
Update Collaborator
curl --request PATCH \
  --url http://127.0.0.1:3333/v3/bots/{id}/collaborators/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "READ"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required
userId
string
required

Body

application/json
type
enum<string>
required
Available options:
READ,
WRITE,
FULL_ACCESS

Response

Default Response

message
string
required