curl -X POST 'https://api.example.com/scope-types' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Department",
"description": "Department within an organization"
}'
{
"id": "type_dept",
"name": "Department",
"description": "Department within an organization"
}
Create a new scope type
curl -X POST 'https://api.example.com/scope-types' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Department",
"description": "Department within an organization"
}'
{
"id": "type_dept",
"name": "Department",
"description": "Department within an organization"
}
curl -X POST 'https://api.example.com/scope-types' \
-H 'Authorization: Bearer YOUR_TOKEN' \
-H 'Content-Type: application/json' \
-d '{
"name": "Department",
"description": "Department within an organization"
}'
{
"id": "type_dept",
"name": "Department",
"description": "Department within an organization"
}
Was this page helpful?