Organizations

Approve a pending affiliation

Approve an organization that has requested affiliation with the calling key's organization. Requires the orgs:manage scope. Subject to the platform affiliate cap (409). Lifecycle: a child requests affiliation (dashboard) and becomes PENDING; approve moves PENDING to APPROVED; credits move only while the affiliate is APPROVED and not suspended; offboard reclaims the remaining credits and suspends the affiliate, in any status; revoke ends the relationship from APPROVED or PENDING. offboard then revoke and revoke then offboard are both supported - offboard never requires APPROVED and revoke never refuses a suspended affiliate. Counts against the API key monthly usage quota (no exemption exists for administration routes) and requires the organization payment state to be current.

post/organizations/sub-orgs/approve

Request

  • Base URL: https://app.arkova.ai/api/v1
  • URL: https://app.arkova.ai/api/v1/organizations/sub-orgs/approve
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Request body

org_public_idstring required

Public identifier of the affiliated organization. NOT the internal uuid — sending one returns 400 use_public_id.

Example request

{
  "org_public_id": "k7mqx3ptr9wz"
}

Response

Affiliation approved

status'APPROVED' | 'REVOKED' required
public_idstring required

Changes

No recorded changes to this operation across all 1 revision of this API.