Identity Service

Back

Key Rotation API

Version: v1

Application

Add a new client secret to selected application.

POST/api/tenants/{tenant}/applications/{clientId}/secrets

Example Request

Parameters

NameDescription

tenant* required

string

(path)

clientId* required

string

(path)

expirationDate

string

(body)

Responses

200

Success

{
   "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
}
NameTypeDescriptionFormat
displayNamestring
clientIdstring
clientSecretstring
themestring
redirectUrisarray
postLogoutRedirectUrisarray
consentTypestring
typestring
grantTypesarray
endpointsarray
scopesarray
homepageUrlstring
sampleHomepageUrlstring
allowUnregisteredUsersToSignInboolean
hideTenantDisplayNameDuringLogInboolean
allowRegisterboolean
disableLoginAlertsboolean
appSwitcherProductIdstring
additionalLinksstring
tenantstring
definedRolesarray
rolesarray
tenantsarray
400

Bad Request

{
   "type": null,
   "title": null,
   "status": null,
   "detail": null,
   "instance": null
}
NameTypeDescriptionFormat
typestring
titlestring
statusintegerint32
detailstring
instancestring

Get the ClientSecrets that belongs to an application.

GET/api/tenants/{tenant}/applications/{clientId}/secrets

Parameters

NameDescription

tenant* required

string

(path)

clientId* required

string

(path)

Responses

200

Success

{
   "clientSecretId": "",
   "clientSecretExpirationDate": null,
   "deleted": false
}
NameTypeDescriptionFormat
clientSecretIdstringuuid
clientSecretExpirationDatestringdate-time
deletedboolean
403

Forbidden

{
   "type": null,
   "identifier": "",
   "message": null,
   "responseCode": null,
   "errors": null
}
NameTypeDescriptionFormat
typestring
identifierstringuuid
messagestring
responseCodestring
errorsarray

Soft-deletes the selected ClientSecret

DELETE/api/tenants/{tenant}/applications/{clientId}/secrets/{id}

Parameters

NameDescription

tenant* required

string

(path)

clientId* required

string

(path)

id* required

string

(path)

Responses

200

Success

{
   "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
}
NameTypeDescriptionFormat
displayNamestring
clientIdstring
clientSecretstring
themestring
redirectUrisarray
postLogoutRedirectUrisarray
consentTypestring
typestring
grantTypesarray
endpointsarray
scopesarray
homepageUrlstring
sampleHomepageUrlstring
allowUnregisteredUsersToSignInboolean
hideTenantDisplayNameDuringLogInboolean
allowRegisterboolean
disableLoginAlertsboolean
appSwitcherProductIdstring
additionalLinksstring
tenantstring
definedRolesarray
rolesarray
tenantsarray
400

Bad Request

{
   "type": null,
   "title": null,
   "status": null,
   "detail": null,
   "instance": null
}
NameTypeDescriptionFormat
typestring
titlestring
statusintegerint32
detailstring
instancestring

NoAccessRedirect

GET/no-access-callback

Parameters

NameDescription

state

string

(query)

Responses

200

Success

OpDashboard

GET/_/op-dashboard

Parameters

NameDescription

Responses

200

Success

ProfileRedirect

GET/profile

Parameters

NameDescription

state

string

(query)

Responses

200

Success