Skip to content

Remove employee from team

Request

Remove an employee from a team

Security
oauth2(Required scopes: employee:update) or bearerAuth or apiKeyHeader
Path
employeeIdstring(AnyId)^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+$write-onlyrequired

The unique employee identifier.

teamIdstring(AnyId)^ext-|^[A-Z][A-Z0-9]-[A-Z0-9]+-[A-Z0-9]+|^\d+$write-onlyrequired

The unique team identifier.

DELETE
/employees/{employeeId}/teams/{teamId}
curl -i -X DELETE \
  'https://sandboxapi.peach.finance/api/employees/{employeeId}/teams/{teamId}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Success