Creates a new cryptographically secure API key for a project. The full unmasked key is returned only in this response - store it securely immediately.
model (CompanyProjectKeyGenerateCommandRequest, required) — Generation request including:
projectId (guid, required) — Project identifier to generate the key for.name (string, optional) — Descriptive name for the key.description (string, optional) — Detailed description of the key’s purpose.isActive (bool, optional) — Active status (default: true).CompanyProjectKeyGenerateCommandResponse containing the newly generated key ID and full unmasked key value.
The access token received from the authorization server in the OAuth 2.0 flow.
The generation request containing project ID, optional key name, and description.
Base structure for command requests that modify data. Represents the request used to generate a new company or project key.
Always returned. Check the success property in the response body to determine if the operation succeeded.
Standard response structure containing operation status and error information. Standard command response indicating the result of a data modification. Represents the response returned after generating a key.
True if the operation completed successfully; false if an error occurred.
true
Result code indicating the outcome of the operation.
Unknown, Success, BadRequest, Unauthorized, NotFound, Error 200
Human-readable error message when an error occurs.
null
The identifier of the generated key.
The public portion of the generated key.
The encrypted private portion of the generated key.
The expiration date of the generated key.
The type of key that was generated.
TransactionRSAKey, FileContentPGPKey