Skip to main content

Assign role to subaccount

PATCH 

/account/:accountId/role

Assigns a role to the given subaccount.

Request

Path Parameters

    accountId stringrequired

    The ID of the cloud account.

    Example: account-100001

Header Parameters

    x-maxone-role-id string

Body

required

    roleId stringrequired

    The ID of the new role.

Responses

OK

Schema

    code int32

    The response code.

    data object

    The wrapped responding data.

    msg string

    The response message.

Loading...