Regenerate App Credential
Regenerate App Credential API will return the data that match the given parameters.
Resource Informations
Name | Value |
---|---|
Requires authentication? | Yes |
Rate limited? | No |
Request
Request headers
Key | Value |
---|---|
Authorization | Bearer token |
Content-Type | application/json |
HTTP request
POST https://{tenantId}.{hostname}/digitanium/v4/apps/{appname}/credentials
OR
POST https://{tenantId}.{hostname}/digitanium/v4/app/secret?appname={appname}
HTTP request URL for SHIFT
POST https://{hostname}/auth/realms/{tenantId}/v3_client/secret/{appname}
note
API requests must be made over https. Calls made over plain http will fail.
Parameters
Parameter Name | Type | Description |
---|---|---|
appname | String | Unique appName of the application |
Request body
No request body fields are required.
Response
Field Name | Type | Description |
---|---|---|
message | String | Message explains result of the API call. Refer Response status Information for details. |
status | String | The status of the API call. Refer Response status Information for details. |
subSystem | Integer | subSystem categorizes the type of API that has been called. Refer Subsystem details for details. |
data | String | The client secret, generated during app creation. |
Sample Response
{
"message": "App credential regenerated successfully",
"status": "OK",
"subSystem": 2,
"data": "31cfcf92-1526-42e9-9bde-1957bbf6c0e4"
}
Response Status Information
Status Code | Status | Message |
---|---|---|
200 | OK | App credential regenerated successfully |
401 | Unauthorized | HTTP 401 Unauthorized |
404 | APP_NOT_FOUND_STATUS | App does not exist |