Create Application Key
Create a new application key, which is used to authorize an API application.
Key details are returned in the response. They must be stored safely, as it will not be possible to retrieve them again.
Required permissions:
project.app.write
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
The ID of the application the key will be created for.
The ID of the project the application belongs to.
The timestamp the key will expire.
date-timeResponse Body
application/json
application/json
curl -X POST "https://loading/zitadel.application.v2.ApplicationService/CreateApplicationKey" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{ "applicationId": "string", "projectId": "string" }'{
"keyId": "string",
"creationDate": "2023-01-15T01:30:15.01Z",
"keyDetails": "string"
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Was this page helpful?
Create Application
Create Application: Create an application. The application can be OIDC, API or SAML type, based on the input. Required permissions:
Deactivate Application
Deactivate Application: Deactivates the application belonging to the input project and matching the provided application ID. Required permissions: