跳到主要内容

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 - ROLE_TYPE_CXM_ADMIN: CXM (string)required

    Possible values: [ROLE_TYPE_OWNER, ROLE_TYPE_ADMIN, ROLE_TYPE_STAFF, ROLE_TYPE_DEVELOPER, ROLE_TYPE_CONTENT_CONTRIBUTOR, ROLE_TYPE_CUSTOM, ROLE_TYPE_CXM_ADMIN, ROLE_TYPE_CXM_MODERATOR, ROLE_TYPE_CXM_CONTRIBUTOR, ROLE_TYPE_CXM_PARTICIPANT]

    Required. The type of role.

Responses

A successful response.

Schema

    object

Loading...