Delete a Resource Server by name or ID
delete
/oam/services/rest/ssa/api/v1/oauthpolicyadmin/application
Deletes a Resource Server, either based on the name or the ID. Only one query parameter needs to be specified.
Request
Supported Media Types
- application/json
- application/x-www-form-urlencoded
Query Parameters
-
id(required): string
Unique ID of the Resource Server
-
identityDomainName(required): string
Name of the Identity Domain under which the Resource Server exists
-
name(required): string
Name of the Resource Server
Response
Supported Media Types
- application/json
200 Response
Sucessfully deleted entity - "OAuthResourceServer", detail - "NameofResourceServer"
422 Response
Failed to delete OAuth entity "ResourceServer" - name "NameofResourceServer"