Skip to main content
PUT
/
organizations
/
admin
/
status
/
{org_id}
Update organization status
curl --request PUT \
  --url https://prod-api.pcxpay.com/v1/organizations/admin/status/{org_id} \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '
{
  "status": "<string>",
  "reason": ""
}
'
{
  "status": "success",
  "message": "<string>",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.pcxpay.com/llms.txt

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

Headers

Authorization
string
default:NONE
required

Bearer JWT for user-facing flows (Bearer eyJraWQ...), or the literal string NONE when authenticating via API key.

Example:

"Bearer eyJraWQ..."

X-Api-Key
string
default:NONE
required

API key for server-to-server flows, or the literal string NONE when authenticating via JWT.

Example:

"pcx_abc123_xxxx"

Path Parameters

org_id
string
required

Body

application/json
status
string
required

New status for the organization.

reason
string
default:""

Optional reason for the status change.

Response

Status updated

status
string
Example:

"success"

message
string
data
object