Delete a loyalty promotion to which a member is enrolled (Deprecated)
delete
/crmRestApi/resources/11.13.18.05/loyaltyMemberEnrollments/{LoyPromomemId}
Request
Path Parameters
-
LoyPromomemId(required): integer(int64)
The promotion member identifier is the primary key of loyalty member enrollments. Oracle Loyalty Cloud generates this attribute value during member enrollment record creation. There is no default value, dependency, or limitation associated with this attribute.
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
This example shows how to delete a loyalty promotion to which a member is enrolled, which is the same as unenrolling the member from the promotion.
Use DELETE with the following URI syntax, for example, to delete a loyalty promotion identified by LoyPromomemId 300100125608625:
https://example.com:port/crmRestApi/resources/11.13.18.05/loyaltyMemberEnrollments/300100125608625
Example of Response Header
cache-control -no-cache, no-store, must-revalidate
connection -Keep-Alive
content-language -en
content-length -0
content-type -text/plain
date -Wed, 28 Mar 2018 21:17:25 GMT
keep-alive -timeout=61, max=100
link -<https://example.com:port/crmRestApi/resources/11.13.18.05/loyaltyMemberEnrollments>;rel="self";kind="collection";name="loyaltyMemberEnrollments"
location -
rest-framework-version -1
server -Oracle-HTTP-Server
vary -User-Agent
x-oracle-dms-ecid -005Q7y8cL1PEoIILIqL6if0007EH0008fq
Example of Response Body
None