CognitiveX Docs
API

PATCH /api/circles/{circle_id}/members/{target_user_id}/role

Change Role

PATCH /api/circles/{circle_id}/members/{target_user_id}/role

Change Role

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
circle_idpathstringYes-
target_user_idpathstringYes-
rolequerystringYes-
X-Org-IDheaderstring | nullNo-

Example request

curl -X PATCH https://api.cognitivx.io/api/circles/{circle_id}/members/{target_user_id}/role \
  -H "Authorization: Bearer icog_..."

Example response

200 application/json

{}

Responses

StatusDescription
200Success. Returns the response body shown below.
422Request validation failed. detail lists each offending field.