• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

DEL Person/{id}/Consent/{purpose}

Some tooltip text!
• 1 minute to read
 • 1 minute to read
DELETE /api/v1/Person/{personId}/Consent/{purpose}

Turn off consent for a specified person and purpose.

Path Part Type Description
personId int32 The person id Required
purpose string The key of the purpose to remove. (e.g. 'STORE' or 'EMARKETING') Required

Request Headers

Parameter Name Description
Authorization Supports 'Basic', 'SoTicket' and 'Bearer' schemes, depending on installation type.
X-XSRF-TOKEN If not using Authorization header, you must provide XSRF value from cookie or hidden input field
Accept Content-type(s) you would like the response in:
SO-AppToken The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Response:

No Content

Response Description
204 No Content

Response body: TimeZoneData

Sample request

DELETE /api/v1/Person/{personId}/Consent/{purpose}
Authorization: Basic dGplMDpUamUw
Accept: application/json; charset=utf-8
Accept-Language: sv

Sample response

HTTP/1.1 204 No Content
Content-Type: application/json; charset=utf-8

null
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top