Skip to main content
POST
/
v1
/
workspaces
/
{workspaceId}
/
api-keys
Criar chave de API da area de trabalho
curl --request POST \
  --url http://localhost:4000/v1/workspaces/{workspaceId}/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "label": "<string>"
}
'
{
  "id": "<string>",
  "workspaceId": "<string>",
  "label": "<string>",
  "token": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.refy.to/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required

Body

application/json
label
string

Response

201 - application/json

Chave de API criada

id
string
workspaceId
string
label
string
token
string
createdAt
string<date-time>