Update a specific domain by domain Id

put

/PASService/rest/services/v1/url/domains/{domainId}

Updates domain for a specific ID.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: string
Back to Top

Response

204 Response

This section describes the 204 status response for this operation. This response code indicates success with no response body. This operation updates a specific domain by domain id.
Back to Top

Examples

This example describes how to update domain for specific ID.

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"
    }
}
Back to Top