Delete a self-service role
delete
/crmRestApi/resources/11.13.18.05/selfServiceUsers/{UserId}/child/SelfServiceRoles/{RoleId}
Request
Path Parameters
-
RoleId(required): integer(int64)
The unique identifier of the role.
-
UserId(required): number
The unique identifier of the self-service user.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
There's no request body for this operation.
Back to TopResponse
Default Response
No Content. This task does not return elements in the response body.
Examples
The following example shows how to delete a self-service role by submitting a DELETE request on the REST resource.
Example of Request Header
The following shows an example of the request header.
DELETE crmRestApi/resources/11.13.18.05/selfServiceUsers/300100090844322/child/SelfServiceRoles/300100090844322 HOST: servername.fa.us2.oraclecloud.com authorization: Basic U0FMRVNfQURNSU46V2VsY29tZTE= content-type: application/vnd.oracle.adf.resourceitem+json
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 204 NO CONTENT Server: Oracle-HTTP-Server-11g Content-Type: application/vnd.oracle.adf.resourceitem+json Content-Language: en