Sazabi
APISecret keys

Create a secret key

POST
/secret-keys

Create one secret key within the organization.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/secret-keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "secretKey": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "lastUsedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",    "value": "string"  }}