Provides access to the scopes in Hyperproof.
Scopes API (1.0)
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/scopes
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/ \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The list of scopes.
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The unique identifier for the scope's parent, or null for a top-level scope
The unique identifiers for the scope's parents, starting from the top-most scope
Names of the scope's parents, starting from the top-most scope
[ { "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ … ], "pathNames": [ … ] } ]
The unique identifiers of the scopes to patch
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The status of the scope within the organization
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/scopes
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/ \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"scopeIds": [
"cb1a06f4-8ed9-4614-a17b-f8671194687e"
],
"patch": {
"name": "Acme",
"owner": "402f37f8-6054-4138-be1f-9b22ec08a86b",
"description": "The Acme Corp scope"
}
}'The list of updated scopes.
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The unique identifier for the scope's parent, or null for a top-level scope
The unique identifiers for the scope's parents, starting from the top-most scope
Names of the scope's parents, starting from the top-most scope
[ { "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ … ], "pathNames": [ … ] } ]
The unique identifier of the user who owns the scope
The optional unique identifier of the scope for this scope's parent in a hierarchy of scopes
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi
- Hyperproof UShttps://api.hyperproof.app/v1/scopes
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/ \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "New Scope",
"owner": "23b806db-bad2-4f7a-b8d1-ac117790999b",
"parentId": "b7c74ee5-7c13-41a3-9395-d789a13cb249",
"description": "A newly created scope",
"customFields": [
{
"fieldId": "ceb912ab-519b-11ee-a644-522476618ae8",
"textValue": "Antonio Moreno"
}
]
}'The newly created scope.
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The unique identifier for the scope's parent, or null for a top-level scope
The unique identifiers for the scope's parents, starting from the top-most scope
{ "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ "6ff2fae7-02a8-4862-bf0c-61dbc0c33c23", "cb1a06f4-8ed9-4614-a17b-f8671194687e" ], "pathNames": [ "Acme-Parent", "Acme" ] }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/filter
- Hyperproof UShttps://api.hyperproof.app/v1/scopes/filter
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes/filter
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes/filter
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/filter \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"programIds": [
"e8e2a5b6-767d-4345-86b9-a9d12a5836ee"
]
}'The list of scopes matching the filter.
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The unique identifier for the scope's parent, or null for a top-level scope
The unique identifiers for the scope's parents, starting from the top-most scope
Names of the scope's parents, starting from the top-most scope
[ { "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ … ], "pathNames": [ … ] } ]
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/{scopeId}
- Hyperproof UShttps://api.hyperproof.app/v1/scopes/{scopeId}
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes/{scopeId}
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes/{scopeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/{scopeId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'The scope with the specified identifier.
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The unique identifier for the scope's parent, or null for a top-level scope
The unique identifiers for the scope's parents, starting from the top-most scope
{ "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ "6ff2fae7-02a8-4862-bf0c-61dbc0c33c23", "cb1a06f4-8ed9-4614-a17b-f8671194687e" ], "pathNames": [ "Acme-Parent", "Acme" ] }
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The status of the scope within the organization
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/{scopeId}
- Hyperproof UShttps://api.hyperproof.app/v1/scopes/{scopeId}
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes/{scopeId}
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes/{scopeId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/{scopeId}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"id": "f7cc82f5-cd53-43b7-986a-3de2fa327965",
"name": "Updated Scope",
"owner": "23b806db-bad2-4f7a-b8d1-ac117790999b",
"description": "Scope description",
"status": "archived",
"customFields": [
{
"fieldId": "ceb912ab-519b-11ee-a644-522476618ae8",
"textValue": "Antonio Moreno"
}
]
}'The updated scope.
The unique identifier for the scope within the organization
The unique identifier of the user who owns the scope
The unique identifier for the scope's parent, or null for a top-level scope
The unique identifiers for the scope's parents, starting from the top-most scope
{ "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ "6ff2fae7-02a8-4862-bf0c-61dbc0c33c23", "cb1a06f4-8ed9-4614-a17b-f8671194687e" ], "pathNames": [ "Acme-Parent", "Acme" ] }
- Mock serverhttps://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/tree
- Hyperproof UShttps://api.hyperproof.app/v1/scopes/tree
- Hyperproof Govhttps://api.hyperproofgov.app/v1/scopes/tree
- Hyperproof EUhttps://api.hyperproof.eu/v1/scopes/tree
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://developer.hyperproof.app/_mock/hyperproof-api/scopes/scopes.openapi/tree \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"onlyActive": true
}'The newly created scope.
{ "scope": { "id": "cb1a06f4-8ed9-4614-a17b-f8671194687e", "name": "Acme", "owner": "402f37f8-6054-4138-be1f-9b22ec08a86b", "description": "The Acme Corp scope", "parentId": "b38f3039-eaa6-4d2a-948d-821a01c79185", "pathIds": [ … ], "pathNames": [ … ] }, "children": [ { … } ] }