Skip to main content
POST
Block an organization customer

Authorizations

Authorization
string
header
required

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

Path Parameters

orgId
string
required

Organization ID

Example:

"org-abc123"

customerId
string
required

Customer record ID

Example:

"oc-7b1c3e9a"

Response

Customer blocked

id
string
required

Customer record ID.

Example:

"oc-7b1c3e9a"

orgId
string
required

Organization the customer belongs to.

Example:

"org-abc123"

userId
string
required

Nevermined user ID of the customer.

Example:

"us-2f4a6c8e"

firstSeenAt
string
required

ISO-8601 timestamp the customer was first observed.

Example:

"2026-01-15T09:30:00.000Z"

lastActiveAt
string
required

ISO-8601 timestamp of the customer’s most recent activity.

Example:

"2026-05-20T14:05:00.000Z"

totalSpent
string
required

Total amount the customer has spent, serialised as a string (bigint).

Example:

"125000000"

createdAt
string
required

ISO-8601 timestamp the customer record was created.

Example:

"2026-01-15T09:30:00.000Z"

status
enum<string>
required

Lifecycle status. blocked customers hold no valid org-issued credential and cannot be issued a new one until unblocked.

Available options:
active,
blocked
Example:

"active"

userName
string | null

Display name from the buyer’s user profile, when available.

Example:

"Aitor Argomaniz"

userEmail
string | null

Email from the buyer’s user profile, when available.

Example:

"aitor@example.com"