Start a Codex ChatGPT device authorization
Requires ADMIN or SUPER_USER. The completed Codex credential is encrypted as CODEX_AUTH_JSON and is never returned. Omit repository_id to configure the organization credential.
/organizations/{organization_id}/codex-device-authorizationsRequires ADMIN or SUPER_USER. The completed Codex credential is encrypted as CODEX_AUTH_JSON and is never returned. Omit repository_id to configure the organization credential.
In: cookie
Path Parameters
1 <= length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/string/codex-device-authorizations" \ -H "Content-Type: application/json" \ -d '{}'{ "data": { "id": "string", "status": "PENDING", "verification_url": "http://example.com", "user_code": "string", "plan_type": "string", "error": "string", "expires_at": "2019-08-24T14:15:22Z" }}Cancel a Codex device authorization started by the current user DELETE
Previous Page
Remove a repository credential override and reveal its organization fallback DELETE
Requires ADMIN or SUPER_USER. The current version must match and an organization secret with the same name must exist. Deletion is recorded in the audit log.