Previous Next JavaScript must be enabled to correctly display this content

## Gets a specific domain by domain Id

get

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

Gets a domain of specific ID.

### Request

Path Parameters

- domainId(required): string(guid)
  Domain Id

There's no request body for this operation.

Back to Top

### Response

#### 200 Response

This section describes the 200 status response for this operation. This response code indicates that the operation has completed successfully. This operation fetches spcific domains by domain id successfully.
Back to Top

### Examples

This example describes how to get a domain of specific ID.

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

    curl \
       -X GET \
       -H "Content-Type: application/json" \
       -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
       -L "http://server:port/PASService/rest/services/v1/url/domains/A3046709-CF2E-4AFF-A4B9-D65C4769F838"

Example Response Body

The following shows an example of the response body in JSON format:

    {
        "allowedDomains": {
            "links": [
                {
                    "href": "http://server:port/PASService/rest/services/v1/domains/36AC61B2-68BC-4ABF-874E-C54099C7EABC",
                    "rel": "self",
                    "mediaType": "application/json",
                    "method": "GET"
                }
            ],
            "creationDate": "2023-09-20T00:00:00Z",
            "status": "INACTIVE",
            "domainId": "36AC61B2-68BC-4ABF-874E-C54099C7EABC",
            "domainName": "oracle.com",
            "createdBy": "qatester3",
            "updatedBy": "qatester3",
            "updatedDate": "2023-09-20T15:18:10Z"
        }
    }

Back to Top