Applications

Delete application legacy secret

Delete the legacy secret for the application and replace it with an internal secret used only by Logto. The internal secret is not returned by Management APIs and cannot be used for client authentication.

delete/api/applications/{id}/legacy-secret

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/applications/{id}/legacy-secret
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

idstring required

The unique identifier of the application.

Response

The legacy secret was deleted successfully.

tenantIdstring required
idstring required
namestring required
secretstring
descriptionstring nullable required
type'Native' | 'SPA' | 'Traditional' | 'MachineToMachine' | 'Protected' | 'SAML' required
customDataobject required

arbitrary

isThirdPartyboolean required
appLevelAccessControlEnabledboolean required
createdAtnumber required

Changes

No recorded changes to this operation across all 8 revisions of this API.