The following macros are not currently supported in the header:
  • style

Staff

Introduction

The Staff field refers to your company’s AffinityLive users, Admins, Professionals, and Collaborators.

Resource Endpoints

ResourceDescription
GET staffReturns a list of staff members.
GET staff/countReturns the total number of staff.
GET staff/:idReturns a staff member identified by staff id.
GET staff/whomaiReturns the current staff member. For handling the response, please see get staff,
GET staff/:usernameReturns a staff member identified by username.
POST staffCreate a new staff member
DELETE staff/:idDelete a staff member identified by staff id.
PUT staff/:idUpdate a staff member identified by staff id.