Applications

Update application secret

Update a secret for the application by name.

patch/api/applications/{id}/secrets/{name}

Request

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

Path parameters

idstring required

The unique identifier of the application.

namestring required

The name of the secret.

Request body

namestring required

The secret name to update. Must be unique within the application.

Response

OK

tenantIdstring required
applicationIdstring required
namestring required
valuestring required
createdAtnumber required
expiresAtnumber nullable required

Changes

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