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

Delete a person's account relationship

Deletes a person's relationship to an account's legal entity. Use account and person to identify the relationship to remove. You cannot delete the account's representative, and integrations using the executive parameter cannot delete the only verified executive on file.

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

2 parameters
accountstringrequired
The account whose legal-entity relationship to remove. Maximum 5000 characters.
personstringrequired
The unique identifier of the person whose relationship to the account to delete. Maximum 5000 characters.

2 status codes
200Returns a deleted person object containing the person's identifier, object type `person`, and `deleted: true`.
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
defaultReturned when the request cannot be processed; the response contains an API error object with an error type and related details.
errorobjectrequired

Error handling

account and person must identify the relationship to delete, and each value must not exceed 5000 characters. The person must not be the account's representative; if the executive parameter is in use, the person must not be the only verified executive on file.