Skip to content

Unassign Project Role

Request

Remove User(s) from a specific Project Role

Security
bearerAuth
Path
projectIdinteger, (int64), >= 1required

ID of the Project

Example:1
Bodyapplication/jsonrequired

Remove User(s) from a specific Project Role. Accepted RoleId: PROJECT_ADMIN, ANALYST, REVIEWER, OBSERVER

roleIdstringrequired

roleId

Example:"ANALYST"
usersArray of stringsrequired

users

curl -i -X DELETE \
  https://codeinsightapi.redocly.app/_mock/swagger/projects/1/users \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "roleId": "ANALYST",
    "users": [
      "string"
    ]
  }'

Responses

OK