Delete a person v2
DELETE / v2 / core / accounts /:account_id / persons /:id
Delete a Person associated with an Account.
Learn more about calling API v2 endpoints.
Parameters
No parameters.
Returns
Response attributes
- id string The ID of the object that’s being deleted.
- object nullable string String representing the type of the object that has been deleted. Objects of the same type share the same value of the object field.
Error Codes
400 account _ not _ yet _ compatible _ with _ v2
Account is not yet compatible with V2 APIs.
400 accounts _ v2 _ access _ blocked
Accounts v2 is not enabled for your merchant.
400 non _ connect _ platform _ accounts _ v2 _ access _ blocked
Needs to use the newer API version or onboard to Connect.
400 v1 _ account _ instead _ of _ v2 _ account
V1 Account ID cannot be used in V2 Account APIs.
400 v1 _ customer _ instead _ of _ v2 _ account
V1 Customer ID cannot be used in V2 Account APIs.
404 not _ found
The resource wasn’t found.
429 account _ rate _ limit _ exceeded
Account cannot exceed a configured concurrency rate limit on updates.
Response
{ "id": "person_test_61RS0CgWt1xBt8M1Q16RS0Cg0WSQO5ZXUVpZxZ9tAIbY", "object": "v2.core.account_person", "deleted": true}
Person event types v2
This is a list of all public thin events we currently send for updates to Person, which are continually evolving and expanding. The payload of thin events is unversioned. During processing, you must fetch the versioned event from the API or fetch the resource’s current state.
Event types
Type
Filter events by type
Type
v2. core. account _ person. created
Occurs when a Person is created.
v2. core. account _ person. deleted
Occurs when a Person is deleted.
v2. core. account _ person. updated
Occurs when a Person is updated.
