API Keys

post

/api-keys

Authorizations
Body
workspaceIdinteger · int64required
Responses
curl -L \
  --request POST \
  --url 'https://lamapi3.azurewebsites.net/api-keys' \
  --header 'Authorization: Bearer JWT' \
  --header 'Content-Type: application/json' \
  --data '{"workspaceId":1}'
{
  "id": 1,
  "apiKey": "text",
  "createdAt": "2025-02-23T05:23:33.731Z"
}
get

/api-keys/{id}

Authorizations
Path parameters
idinteger · int64required
Responses
curl -L \
  --url 'https://lamapi3.azurewebsites.net/api-keys/{id}' \
  --header 'Authorization: Bearer JWT'
{
  "id": 1,
  "apiKey": "text",
  "createdAt": "2025-02-23T05:23:33.731Z"
}
delete

/api-keys/{id}

Authorizations
Path parameters
idinteger · int64required
Responses
curl -L \
  --request DELETE \
  --url 'https://lamapi3.azurewebsites.net/api-keys/{id}' \
  --header 'Authorization: Bearer JWT'

No body

Was this helpful?