Delete a role from a self-service user

delete

/crmRestApi/resources/11.13.18.05/selfServiceRoles/{RoleId}

Request

Path Parameters
Header Parameters
  • 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".
  • 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 Top

Response

Default Response

No Content. This task does not return elements in the response body.
Back to Top

Examples

Use DELETE with the following URI syntax to delete a specific role from a self-service user:

Example of Request URI

The following shows an example of the request URL.

https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/selfServiceRoles/300100095936466

Example of Request Header

The following shows an example of the request header.

DELETE  crmRestApi/resources/11.13.18.05/selfServiceRoles HTTP/1.1
HOST: servername.fa.us2.oraclecloud.com
authorization: Basic U0FMRVNfQURNSU46V2VsY29tZTE=
content-type: application/vnd.oracle.adf.resourceitem+json

Note:

If the RelationshipTypeCd attribute is set to "ORA_CSS_ACC_ADMIN", then another user with this role must exist. If the RelationshipTypeCd attribute is set to "ORA_CSS_USER", then the user will not have access to self-service. The user has to re-register to get access to self-service.

Example of Response Header

The following shows an example of the response header.

HTTP/1.1 204 N0 CONTENT
Date: Fri, 22 Mar 2017 09:40:10 GMT
Server: Oracle-HTTP-Server-11g
Content-Type: application/vnd.oracle.adf.resourceitem+json
Content-Language: en
Back to Top