Sample - Stripe API
DELETE/v1/accounts/{account}/persons/{person}

Delete a person from an account

Deletes a person’s relationship to an account’s legal entity. Use account and person to identify the account and person to remove; you cannot remove the representative or the only verified executive when executive requirements apply.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
accountstringrequired
The unique identifier of the account whose person relationship you want to delete. Maximum 5,000 characters.
personstringrequired
The unique identifier of the person relationship to delete. Maximum 5,000 characters.

2 status codes
200Returns a deleted person object with `deleted` set to true, the deleted person identifier, and object type `person`.
deletedbooleanrequired
Always true for a deleted object
Allowed:true
idstringrequired
Unique identifier for the object.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:person
defaultError response.
errorobjectrequired

Error handling

account and person must each be no longer than 5,000 characters and must identify the account and person relationship to delete. The person cannot be the account representative, and you cannot delete the only verified executive when the executive parameter is in use.