NEAR AI Cloud: Set an organization's scheduler priority (platform admins with write access only).
PATCH /v1/admin/organizations/{org_id}/priority Set an organization's scheduler priority (platform admins with write access only). Deprecated: this endpoint is moving to cloud-platform at the same path; the cloud-platform base URL will be announced. Behaviour may differ in edge cases.
Admin permissions: admin session or read_write token. A read_only token receives HTTP 403 with error.type insufficient_permissions before the handler runs.
Parameters:
- org_id (path, string, required): Organization ID.
Request body (application/json):
- priority (integer, int32, required): Inclusive range -1000..1000. Set 0 to restore the default.
Responses: 200: Scheduler priority updated
- organization_id (string, uuid, required)
- priority (integer, int32, required) 400: Priority outside -1000..1000 401: Unauthorized 403: Forbidden Missing admin privileges (forbidden) or insufficient token permission (insufficient_permissions). 404: Organization not found