Directory

Change a member's lead or read-all flag

Move a member to a new lead, remove their lead (reports_to: null), or set whether they read everyone's mail. Omitted fields are left alone. Members are named by login email. Takes effect on the member's next read in Slashy, and within about 30 seconds for API keys. Made as the key's creator, who must still be an owner or admin.

Scope: directory.write. Rate limit class: write (120/minute per key).

patch/v1/members/{email}

Request

  • Base URL
    https://api.slashy.com
  • URL
    https://api.slashy.com/v1/members/{email}
  • Auth
    HTTP bearer

Path parameters

emailstring required

The member's login email (any case).

Request body

reports_tostring nullable

The lead's email; null removes the lead.

reads_all_mailboolean

Response

OK

user_idstring uuid required

Slashy user id.

emailstring required

Login email.

namestring nullable required
role'owner' | 'admin' | 'member' required
reports_tostring nullable required

The lead's email. The lead reads this member's mail.

reads_all_mailboolean required

Reads every member who doesn't also have reads_all_mail.

Changes

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