Update Service Account
Updates a service account
Service account ID URN
{
"id": "string",
"name": "string",
"softwareId": "string",
"softwareVersion": "string",
"roles": [
{
"name": "string",
"id": "string"
}
],
"uri": "string",
"org": {
"name": "string",
"id": "string"
},
"managedBy": {
"name": "string",
"id": "string"
},
"status": "string",
"requireRotation": false,
"tokenRotation": "string"
}
ID of this service account. Sorting on this field is not supported.
Name of the service account.
Unique identifier string to identify the client software being registered.
Version identifier string for the client software identified by software_id.
Entity references of the Roles assigned to this service account.
URL of a web page providing information about the client.
Entity reference used to describe VCD entities
Entity reference used to describe VCD entities
The status of the refresh token for this service account. CREATED: The client exists with no refresh token and no user codes REQUESTED: The client exists with no refresh token and has user codes GRANTED: The client exists with no refresh token and has a single user code marked as granted ACTIVE: The client exists with refresh token
Whether or not token rotation is required on every use of the refresh token for this service account.
Defines the token rotation behavior. ALWAYS: Tokens are rotated automatically when requireRotation=true. NEVER: Tokens are never rotated (requireRotation=false). ONCE_ON_NEXT_LOGIN: Token rotates on the next login, then resets to NEVER by the server (requireRotation=false). NONE: Not applicable.
OK
{
"id": "string",
"name": "string",
"softwareId": "string",
"softwareVersion": "string",
"roles": [
{
"name": "string",
"id": "string"
}
],
"uri": "string",
"org": {
"name": "string",
"id": "string"
},
"managedBy": {
"name": "string",
"id": "string"
},
"status": "string",
"requireRotation": false,
"tokenRotation": "string"
}
This operation contains the following vendor extensions defined in the spec:
[{"type":"Classic"},{"type":"Modern"}]
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/1.0.0/serviceAccounts/{id}