Get All Roles For Sandbox
GET/v1/sandbox/:sandbox_id/role
Get all Roles for Sandbox, requires sandbox:config:view | sandbox:config:edit permission
Request
Path Parameters
Sandbox ID
Query Parameters
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Possible values: non-empty and <= 128 characters
Default value: 0
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
roles
object[]
required
A list of all Roles
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when the resource was created
ID of the Sandbox
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
custom_data
object
Custom data associated with the resource
login_loot_rewards
object[]
List of login loot rewards for this role
Loot ID for this login loot reward tied to this role
Default value: 0
Legacy loot ID for this login loot reward tied to this role
Default value: 92635edf-5b05-4c0b-bb78-4ab28176b5f1
Unique Identifier for this Role
Default value: 0
Legacy role ID for this role
Possible values: [none, locked, limited]
Type of Auth Bypass.
Possible values: non-empty and <= 128 characters
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
{
"roles": [
{
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"custom_data": {},
"login_loot_rewards": [
{
"loot_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"legacy_loot_id": 0
}
],
"role_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"legacy_role_id": 0,
"auth_bypass": "none"
}
],
"cursor": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}