Update service principal credentials
Contributors
Suggest changes
PATCH /accounts/{accountPublicId}/azure/service-principal/{credentialsId}
Updates existing credentials by specified account public ID.
Token usage: Cloud Manager user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountPublicId |
string |
path |
True |
|
credentialsId |
string |
path |
True |
Request Body
Name | Type | Required | Description |
---|---|---|---|
tenantId |
string |
True |
|
clientId |
string |
True |
|
clientSecret |
string |
True |
|
name |
string |
True |
Example request
{
"tenantId": "string",
"clientId": "string",
"clientSecret": "string",
"name": "string"
}
Response
Status: 200, Successful updated service principal credentials
Name | Type | Required | Description |
---|---|---|---|
credentialsId |
string |
True |
|
credentialsType |
string |
True |
|
extra |
True |
||
isSimulated |
boolean |
True |
Error
Status: 404, Credentials not found
Definitions
See Definitions
extra