modifications. Per-object limits, keyed by API object name: none removes the object, ro allows reads only, update-only allows reads and updates, and no-delete allows everything but deletes.read-only. yes refuses every write, on every object.enabled. no refuses every token issued under the scope until you set it back to yes.name and parent-scope. parent-scope is one of the eight built-in scopes you can derive from. A name already in use is a 409, and so is the name of a built-in scope. The scope is applied shortly after the response, so wait for it to appear before you assign it.Authorization: Bearer ********************curl --location 'https://awqacore01.crexendocloud.com/ns-api/v2/scopes' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Platform Manager",
"parent-scope": "Super User",
"description": "Operations admin with no platform configuration or routing changes",
"modifications": {
"nsconfig": "none",
"route": "ro"
}
}'{
"name": "Platform Manager",
"parent-scope": "Super User",
"description": "Operations admin with no platform configuration or routing changes",
"read-only": "no",
"modifications": {
"nsconfig": "none",
"route": "ro"
},
"enabled": "yes",
"hidden": "no",
"built-in": "no"
}