Patch Sandbox Deserter Config
PATCH/v1/sandbox/:sandbox_id/deserter/:deserter_id
Update a specific deserter config for a specific sandbox
Requires permission sandbox:config:edit.
Request
Path Parameters
deserter_id uuidrequired
sandbox_id uuidrequired
Sandbox ID
- application/json
Body
required
name Name (string)
Possible values: non-empty and <= 125 characters
Name of the resource
description Description (string)
Possible values: <= 250 characters
Description of the resource
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
last_modified_account_id uuid
Account ID of the user who last modified the resource
last_modified_timestamp date-time
Timestamp of when the resource was last modified
created_timestamp date-time
Timestamp of when the resource was created
name Name (string)
Possible values: non-empty and <= 125 characters
Name of the resource
description Description (string)
Possible values: <= 250 characters
Description of the resource
sandbox_id uuid
ID of the Sandbox
deserter_id uuidrequired
Unique id for this deserter config
{
"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",
"name": "string",
"description": "string",
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"deserter_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...