Endpoint | Method | Description |
---|---|---|
/udr/v1api/setoffline | POST | Sets the Docker Registry offline. |
Basic Authorization header required. The specified user must have administrator privileges.
Argument | Type | Description |
---|---|---|
(none) |
A JSON object is returned. If an error occurs, the "error" field will contain a descriptive error message (see Standard API Response).
Field | Type | Description |
---|---|---|
data | Boolean | Contains true if the Docker Registry is offline, false otherwise. |
curl -u username:usertoken -d "" https://registry.yoursite.com/udr/v1api/setoffline Response: {"error":null,"data":true}
Last Updated 08/17/2020 - (email)
RegistryUI.com © 2023 - Softel vdm, Inc.