Update asset by UUID.
PUT/v1/assets/:uuid
Updates and returns a single asset by UUID.
Request
Path Parameters
The UUID of the asset to update and retrieve.
Unique identifier for the resource.
- application/json
Body
required
Possible values: non-empty
and <= 80 characters
Name of asset.
Responses
- 200
- 400
- 401
- 403
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
A URL to the JSON Schema for this object.
data
object
required
Date and time the asset was created.
Unique identifier for the customer
Possible values: non-empty
and <= 16 characters
Device type of the asset.
Unique identifier for the integration
Possible values: non-empty
and <= 80 characters
Name of asset.
Date and time the asset was updated.
Unique identifier for the person
{
"$schema": "string",
"data": {
"created_at": "2024-05-27T07:25:42.261Z",
"customer": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"device": "string",
"integration": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"updated_at": "2024-05-27T07:25:42.261Z",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"status": 0,
"timestamp": "2024-05-27T07:25:42.261Z"
}
Bad Request
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Unauthorized
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Forbidden
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Unprocessable Entity
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}
Internal Server Error
- application/problem+json
- Schema
- Example (from schema)
Schema
Array [
]
A URL to the JSON Schema for this object.
A human-readable explanation specific to this occurrence of the problem.
errors
object[]
Optional list of individual error details
Where the error occurred, e.g. 'body.items[3].tags' or 'path.thing-id'
Error message text
The value at the given location
A URI reference that identifies the specific occurrence of the problem.
HTTP status code
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
Default value: about:blank
A URI reference to human-readable documentation for the error.
{
"$schema": "string",
"detail": "string",
"errors": [
{
"location": "string",
"message": "string"
}
],
"instance": "string",
"status": 0,
"title": "string",
"type": "about:blank"
}