Skip to main content

Change account role

POST 

/bv/account/v1/accounts/role:change

Modifies the role of a specific account using the provided access token. Only the owner or admin has the permission to change the account role.

Request

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required
    account_id stringrequired

    Required. The resource identifier of account.

    role_type stringrequired

    Possible values: [ROLE_TYPE_OWNER, ROLE_TYPE_ADMIN, ROLE_TYPE_STAFF, ROLE_TYPE_DEVELOPER, ROLE_TYPE_CONTENT_CONTRIBUTOR]

    Required. The type of role.

Responses

A successful response.

Schema

    object

Loading...