Departments

DELETE /v1/departments/{department_id}/members/{person_id}

DELETE /v1/departments/{department_id}/members/{person_id}

Required scopes: departments:write

delete/v1/departments/{department_id}/members/{person_id}

Request

  • Base URL: https://api.yardstick.team
  • URL: https://api.yardstick.team/v1/departments/{department_id}/members/{person_id}
  • Auth: HTTP bearer

Path parameters

department_idstring required
person_idstring required

Headers

Idempotency-Keystring

Supported for safe retry. Reuse the same key to receive the cached response without repeating the operation.

X-Request-Idstring

Optional caller-supplied request identifier. Values must match ^[A-Za-z0-9_-]{1,128}$; a valid value is echoed in the response X-Request-Id header, otherwise the API generates one.

Response

Success

idstring required

Display id, e.g. dpm_<base32>

object'department_member' required
department_idstring required

Display id, e.g. dpt_<base32>

person_idstring nullable required

Display id, e.g. per_<base32>

rolestring required
emailstring nullable required
namestring nullable required
avatar_urlstring nullable required
joined_atstring nullable required

ISO-8601 UTC

Changes

No recorded changes to this operation across all 1 revision of this API.