Skip to main content

Add API Key

POST 

/workspaces/:workspaceId/service-accounts/:subjectId/api-keys

Add API Key

Request

Path Parameters

    workspaceId uuidrequired
    subjectId uuidrequired

Body

    displayName string
    expiresAt date-timenullable

Responses

API key added.

Schema

    apiKeyId uuid
    displayName string
    expiresAt date-timenullable
    creatorSubjectId uuidnullable
    publicPrefix string
    createdAt date-time
Loading...