Set app item status
Request
POST /pub/v1/app/{namespace}/{code}/{id}/set-status
Path parameters
Parameter name | Value | Description | Additional |
---|---|---|---|
namespace | string | Workspace code |
Required |
code | string | App code |
Required |
id | uuid | Item ID |
Required |
Request body
The resource sent in the request body is Set app item status — Request. It contains the following writable properties:
{
"status": {
"code": "string"
}
}
Properties
Name | Type | Description | Additional |
---|---|---|---|
status | object |
New Status Parameters |
Optional |
status.code | string |
Status Code |
Optional |
Authorization
This request requires the use of one of following authorisation methods:
API key
Response
The following HTTP status codes may be returned:
Status code | Description | Resource |
---|---|---|
200 | OK Model of an app item with the set status |
Model of an app item with the set status (Set app item status) |
404 | Not Found Item with this ID not found |