v1
protected
api-keys
Create Api Key
Changed onCreate a new API key. The raw token value is returned once — store it securely.
post/v1/workspaces/{workspace}/api-keys/
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
workspacestring required
Slug of the workspace the request acts in
Request body
Response
Successful Response
Changes
- breaking
the
request property's minLength was increased from0to1 - warning
the
request property's maxLength was set to255
- breaking
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info