Add a new client secret to selected application.
POST/api/tenants/{tenant}/applications/{clientId}/secrets
Example Request
Parameters
| Name | Description |
|---|---|
string (path) | |
string (path) | |
string (body) |
Responses
200
OK
{
"displayName": null,
"clientId": null,
"clientSecret": null,
"theme": null,
"redirectUris": null,
"postLogoutRedirectUris": null,
"consentType": null,
"type": null,
"grantTypes": null,
"endpoints": null,
"scopes": null,
"homepageUrl": null,
"sampleHomepageUrl": null,
"allowUnregisteredUsersToSignIn": false,
"hideTenantDisplayNameDuringLogIn": false,
"allowRegister": false,
"disableLoginAlerts": false,
"appSwitcherProductId": null,
"additionalLinks": null,
"tenant": null,
"definedRoles": null,
"roles": null,
"tenants": null
}| Name | Type | Description | Format |
|---|---|---|---|
| displayName | string | ||
| clientId | string | ||
| clientSecret | string | ||
| theme | string | ||
| redirectUris | array | ||
| postLogoutRedirectUris | array | ||
| consentType | string | ||
| type | string | ||
| grantTypes | array | ||
| endpoints | array | ||
| scopes | array | ||
| homepageUrl | string | ||
| sampleHomepageUrl | string | ||
| allowUnregisteredUsersToSignIn | boolean | ||
| hideTenantDisplayNameDuringLogIn | boolean | ||
| allowRegister | boolean | ||
| disableLoginAlerts | boolean | ||
| appSwitcherProductId | string | ||
| additionalLinks | string | ||
| tenant | string | ||
| definedRoles | array | ||
| roles | array | ||
| tenants | array |
400
Bad Request
{
"type": null,
"title": null,
"status": null,
"detail": null,
"instance": null
}| Name | Type | Description | Format |
|---|---|---|---|
| type | string | ||
| title | string | ||
| status | integer | int32 | |
| detail | string | ||
| instance | string |