Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

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

Path Parameters

org_id
string
required

The ID of the organization

user_id
string
required

The ID of the user

Body

application/json
project_name
string
required

The name of the project to place the demoted user in

role
enum<string>

The project role to assign (defaults to Viewer)

Available options:
Developer,
Viewer

Response

Admin demoted successfully