ApiAsset
Activate asset tree
Sets the target asset and all descendants to active so they can be assigned within the hierarchy.
Access restricted to roles:
- admin
- producer-admin
- producer-user
Path Parameters
assetId*string
The unique identifier of the asset
Format
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X POST "https://my.sweetconnect.io/api/asset/v1/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/activate"Empty
{
"errors": [
{
"errorCode": "BadRequest",
"message": "The request payload is invalid.",
"extension": {}
}
]
}{
"errors": [
{
"errorCode": "Unauthorized",
"message": "Authentication is required to access this resource.",
"extension": {}
}
]
}{
"errors": [
{
"errorCode": "NoPermission",
"message": "You do not have permission to access this resource.",
"extension": {}
}
]
}{
"errors": [
{
"errorCode": "InternalServerError",
"message": "An unexpected internal server error occurred.",
"extension": {}
}
]
}