Update Service App
Updates a specific VMware service application.
serviceAppId
Show optional properties
{
"name": "string",
"clientId": "string",
"clientSecret": "string",
"serviceScope": {}
}
{
"id": "string",
"name": "string",
"clientId": "string",
"clientSecret": "string",
"orgId": "string",
"serviceScope": {},
"accessTokenTTL": 0,
"accessTokenExpiration": "string",
"enabled": false,
"authorizationUrl": "https://console.cloud.vmware.com/csp/gateway/am/api/auth/api-tokens/authorize"
}
OK
"ServiceApp Object"
The unique ID for the service application. This field is read-only.
The name of the service application
The client ID
The client secret
The external organization id of the service application
Describes the type of service application. VMC_REFRESH_TOKEN: The application authtenticates to VMC via a refresh token VMC_CLIENT_CREDENTIAL: The application authenticates to VMC using client credentials VMC: Deprecated. Defaults to VMC_REFRESH_TOKEN.
The read-only time-to-live of the access token in seconds.
The read-only expiration date of the access token.
Whether the application is currently enabled.
The authorization URL for the application.
Invalid configuration.
"Error Object"
minorErrorCode
message
stackTrace
The specified resource was not found
"Error Object"
minorErrorCode
message
stackTrace
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"clientId:"string","clientSecret:"string","name:"string","serviceScope:"object"}' https://{api_host}/cloudapi/1.0.0/serviceApps/{serviceAppId}