Delete a Portal

delete

/v1/portal/portals/{portalId}

Deletes a portal.

A portal manager can delete the portal. Deleting a portal is permanent; it cannot be restored after it is deleted.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

204 Response

Portal successfully deleted.

404 Response

ID for the portal is invalid
Back to Top

Examples

Use this endpoint to delete a portal. To delete a portal, submit a DELETE request on the REST resource. In the request, you must specify the Portal Id of the portal.

Use the following format to submit a DELETE request using cURL:

curl -i -X DELETE 
http://hostname:port/rest/api/v1/portal/portals/{portalId}?utoken=utoken
-H 'Content-Type: application/json'
  

where

  • hostname:port is the name of the host and the IP port where Oracle WebCenter Portal is running. For example, example.com:8888.

  • utoken is the API token for accessing the portal APIs. For example, utoken=utoken=abcdIC05zgjZoqCF8ShWL42AhTVvq-fc8uFshnw%2A%2A. For more information, see Authentication.

  • {portalId} is the  short id of the portal. To retrieve the short id of a portal, see Retrieve Portals.

HTTP Status Code

HTTP_STATUS = 204 No Content
Back to Top