Add a demotion tag to a container image
post/container/image/demote
Demote a container image by one level. The specified promotion level must exist, be the highest promotion level for the container image, and be no higher than the level that this instance of SAS Event Stream Manager is configured to manage.
Identifies a container image to be promoted or demoted by one level.
| Name | Type | Required | Description |
|---|---|---|---|
projectVersion | integer<int32> | false | >= 1 |
promotionLevel | integer<int32> | false | >= 1 |
dockerRegistryUrl | string | false | |
dockerRepositoryName | string | false | |
imageTag | string | false | Match pattern: ^[a-zA-Z0-9_][a-zA-Z0-9_.-]{0,127}$ |
notes | string or null | false |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | The container image was demoted by one level. | Headers | |
| 400 | Bad Request | The request was invalid. Additional information is available in the application logs if the environment variable | Schema | |
| 403 | Forbidden | The user did not have the necessary permissions. | Schema | |
| 404 | Not Found | No resource exists at the requested path. | Schema | |
| 409 | Conflict | The request could not be completed due to a conflict with the current state of the resource. | Schema |