Skip to main content
POST
Issue an identity-only buyer-agent credential

Authorizations

Authorization
string
header
required

API key or access token

Body

application/json

Issue one identity-only WorkOS M2M credential. No caller-supplied principal, organization, or workload identity is accepted.

displayName
string
required
Required string length: 1 - 255
idempotencyKey
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
replacesM2MSubject
string
Required string length: 1 - 255

Response

Issue an identity-only buyer-agent credential

data
object
required
error
enum<string> | null
required
Available options:
null