cURL
curl --request POST \ --url https://api.example.com/api/core/contexts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "title": "<string>", "category_id": "<string>", "context": "<string>", "scope_type": "org", "scope_id": "<string>" } '
{ "id": "<string>", "title": "<string>", "category_id": "<string>", "context": "<string>", "scope": { "type": "org", "scope_id": "<string>" }, "stack_order": 123 }
Create a new context. Permissions are assigned based on the scope you define.
Bearer token authentication. Format: 'Bearer '
org
user
Successful Response
Show child attributes
Was this page helpful?