Delete a Portal
/v1/portal/portals/{portalId}
A portal manager can delete the portal. Deleting a portal is permanent; it cannot be restored after it is deleted.
Request
- application/json
-
portalId: string
The short id of the portal.
Response
- application/json
204 Response
404 Response
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 theshort id
of the portal. To retrieve the short id of a portal, see Retrieve Portals.
HTTP Status Code
HTTP_STATUS = 204 No Content