Delete TrainedProfessional
delete
/appstore/publisher/v1/services/{listingVersionId}/trainedprofessionals
Delete the TrainedProfessional for a service with the specified ID.
Request
Path Parameters
-
listingVersionId: integer(int64)
Listing ID for which to delete TrainedProfessional.
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
400 Response
Bad Request
401 Response
Not Authorized
404 Response
Entity Not Found
500 Response
System Error
Examples
The following example deletes the trainedprofessional for a service, by submitting a DELEET request on the REST resource using cURL.
cURL Example
curl -X DELETE -H "Authorization: Bearer Access-token" -H "X-Oracle-UserId: partner-email" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/services/9483951/trainedprofessionals"
Request Header
Authorization: Bearer Access-token X-Oracle-UserId: fname.lname@oracle.com
Request Body
NONEHTTP Status Code:
200 OK
JSON Response:
{ "message": "NumberOfTrainedProfessional deleted.", "entityId": "9483951" }Back to Top