Versions
Update artifact version state
Updates the state of a specific version of an artifact. For example, you can use this operation to disable a specific version.
This operation can fail for the following reasons:
- No artifact with this artifactId exists (HTTP error 404)
- No version with this version exists (HTTP error 404)
- A server error occurred (HTTP error 500)
put/groups/{groupId}/artifacts/{artifactId}/versions/{version}/state
Request body
Example request
{
"state": "DISABLED"
}Response
Returned when the update was successful.