Modify handle service
Allows to update a registered handle service.
This operation requires handle_service_update privilege or
oz_handle_services_update admin privilege.
Example cURL requests
Modify handle service password
curl -u username:password -X PATCH -H "Content-type: application/json" \
-d '{"name": "New handle service name"}' \
https://$HOST/api/v3/handle_services/$HANDLE_SERVICE_ID
Path parameters
| Parameter | Type & Description |
|---|---|
| id required | string Handle service Id. |
Request body
| Property | Type & Description | ||
|---|---|---|---|
name string The user defined name of the service. | |||
proxyEndpoint string The endpoint of the Handle service proxy, i.e. a service which implements logic specific for particular Handle service. | |||
serviceProperties object (HandleServicePropertiesUpdate) An abstract type for Handle identifier services properties.
| |||
Request Examples
{
"proxyEndpoint": "https://newendpointdomain.com:17000/handle_proxy"
}Responses
Update was successful.
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authentication error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Authorization error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Resource not found.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Internal server Error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}