CognitiveX Docs
API

POST /api/orgs/{org_id}/active

Set Active Org

POST /api/orgs/{org_id}/active

Set Active Org

Authentication: Authorization: Bearer <key> or X-API-Key: <key>. Create keys at developers.cognitivx.io/keys.

Parameters

NameInTypeRequiredDescription
org_idpathstringYes-
X-Org-IDheaderstring | nullNo-

Example request

curl -X POST https://api.cognitivx.io/api/orgs/{org_id}/active \
  -H "Authorization: Bearer icog_..."

Responses

StatusDescription
204Success with no response body.
422Request validation failed. detail lists each offending field.