deleteMultipleProfiles

post

/ccagent/v1/profiles/delete

Endpoint for deleting multiple profiles, superseding the DELETE /profiles endpoint. Not all REST clients will allow the passing of a message body with a DELETE action and so this endpoint should be used going forward.

Request

Supported Media Types
Body ()
Root Schema : deleteProfiles_request
Type: object
Show Source
  • profileIds
    The ids of the profiles to be deleted. Not all REST clients allow the passing of a message body with a DELETE action. For such scenarios the POST /profiles/delete endpoint should be used.
Example:
{
    "profileIds":[
        "150027",
        "160035"
    ]
}
Nested Schema : profileIds
Type: array
The ids of the profiles to be deleted. Not all REST clients allow the passing of a message body with a DELETE action. For such scenarios the POST /profiles/delete endpoint should be used.
Show Source
Back to Top

Response

Supported Media Types

200 Response

OK.

Default Response

The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |13037|Missing required property: profileIds| |22002|No profile found with profile id {0}.| |20561|An error occurred while trying to delete the profile with id {0}.| |20562|B2B profile is not allowed to be deleted.|
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top