Identity Cloud

Delete a script

To delete a script, perform an HTTP DELETE using the /json{/realm}/scripts endpoint, specifying the UUID in the URL.

The <session-cookie-name> header is required and should contain the SSO token of an administrative user who has access to perform the operation.

$ curl \
--request DELETE \
--header "<session-cookie-name>: AQICS...NzEz*" \
--header "Accept-API-Version: resource=1.1" \
'https://<tenant-env-fqdn>/am/json/realms/root/realms/alpha/scripts/aeb22d32-100c-46c0-ac51-af571889e5b9'
{}
Copyright © 2010-2024 ForgeRock, all rights reserved.