Delete custom page data

delete

/developers/services/v1/portal/customization/pages/{pageId}

Deletes the given custom page of Developer Portal. Both metadata and content files are deleted.

Request

Path Parameters
Back to Top

Response

204 Response

None

401 Response

Authentication required.

404 Response

Not allowed to delete.
Back to Top

Examples

The following example shows how to delete a custom page by submitting a DELETE request on the REST resource using cURL.

curl -i -X DELETE 
-H "Authorization: Bearer access_token
https://example.com/developers/services/v1/portal/customization/pages/{pageid}

Where:

  • access_token refers to the access token generated by Oracle Identity Cloud Service for the Oracle API Platform Cloud Service account. See Security, Authentication and Authorization.

  • example.com refers to the path where Developer Portal is deployed.

  • {pageId} refers to the name of the custom page that you want to delete.

For more information about cURL, see Use cURL.

Example of Response Headers

The following shows an example of the response headers.

HTTP/1.1 204 No Content
Server: Oracle-Traffic-Director/12.2.1.0.0
Date:  Mon, 22 Sep 2018 08:34:10 GMT
X-oracle-dms-ecid:  49d14691-2176-4c99-aed3-38438604f528-00001e4e
X-oracle-dms-rid: 0:1
Via: 1.1 otd_opc
Proxy-agent: Oracle-Traffic-Director/12.2.1.0.0
Back to Top