Generate Client Secret
Generates the client secret of an API or OIDC application that belongs to the input project.
Required permissions:
- project.app.write
Connect-Protocol-Version*1Define the version of the Connect protocol
1Connect-Timeout-Ms?Connect-Timeout-MsDefine the timeout, in ms
application/json- body
applicationId*application_idThe unique ID of the application to generate a new client secret for.
projectId*project_idThe ID of the project the application belongs to.
Success
application/json- response
clientSecret?client_secretThe newly generated client secret. It must be stored safely, as it will not be possible to retrieve it again. A new client secret can be generated using this endpoint.
creationDate?creation_dateThe timestamp of the creation of the new client secret.
date-timecurl -X POST 'https://example.com/zitadel.application.v2.ApplicationService/GenerateClientSecret' \ -H 'Connect-Protocol-Version: 1' \ -H 'Content-Type: application/json' \ -d '{ "applicationId": "string", "projectId": "string"}'{ "clientSecret": "string", "creationDate": "2023-01-15T01:30:15.01Z"}Was this page helpful?
Delete Application Key
Delete Application Key: Deletes an application key matching the provided ID. Organization ID is not mandatory, but helps with filtering/performance. The deletion time is returned in response message. Required permissions:
Get Application
Get Application: Retrieves the application matching the provided ID. Required permissions:
