Update details
PATCH /tenancy/account/{accountId}/service-account/{serviceAccountId}
Updates the service account details of a specified account.
Token usage: BlueXP user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountId |
string |
path |
True |
|
serviceAccountId |
string |
path |
True |
Service Account Client ID. Do not provide the Service Account Public ID.
|
authorization |
string |
header |
True |
Authorization JWT access token |
X-User-Token |
string |
header |
False |
User JWT access token |
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
Name | Type | Required | Description |
---|---|---|---|
serviceAccountName |
string |
False |
Service account name |
rolePublicId |
string |
False |
Service account role |
workspacePublicIds |
array[string] |
False |
Service account workspaces |
Example request
{
"serviceAccountName": "string",
"rolePublicId": "string",
"workspacePublicIds": [
"string"
]
}
Response
Status: 200, Default response
Definitions
See Definitions
body
Name | Type | Required | Description |
---|---|---|---|
serviceAccountName |
string |
False |
Service account name |
rolePublicId |
string |
False |
Service account role |
workspacePublicIds |
array[string] |
False |
Service account workspaces |