Partially update a specific domain by domain Id
patch
/PASService/rest/services/v1/url/domains/{domainId}
Partially updates domain for a specific ID
Request
Path Parameters
-
domainId(required): string(guid)
Domain Id
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to update a domain partially for the fields given in request body for a specified domain by domain Id.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- domainGuid
- creationDate
- updatedGmt
- createdBy
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/url/domains/545B3AB1-E1DD-4C57-8F07-07928BB0976D" \
-d '{"Use this placeholder to plug-in the example request body given below"}'
Example Request Body
The following shows an example of the request body in JSON format:
{
"domain":
{
"domainName": "oracle.com",
"status": "ACTIVE"
}
}