Generate a secret
Contributors
Suggest changes
POST /tenancy/account/{accountId}/service-account/{serviceAccountId}/generate-service-account-secret
Generates the service account secret.
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 |
Response
Status: 200, Default response
Name | Type | Required | Description |
---|---|---|---|
clientId |
string |
False |
|
clientSecret |
string |
False |
Example response
{
"clientId": "string",
"clientSecret": "string"
}