Create Service App
Create a VMware service app
{
"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"
}
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.
{
"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"
}
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.
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
minorErrorCode
message
stackTrace