Generate Client Secret
Generates the client secret of an API or OIDC application that belongs to the input project.
Required permissions:
- project.app.write
Header Parameters
Connect-Protocol-Version*number
Define the version of the Connect protocol
Value in
1Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
applicationId*string
The unique ID of the application to generate a new client secret for.
projectId*string
The ID of the project the application belongs to.
[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://loading/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"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}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: