Team members

Update team member

Updates a team member<br>Required scopes: <b>write_team_members</b>

put/partner_api/v1/team_members/{id}

Request

  • Base URL
    https://api.contentsnare.com
  • Auth
    • OAuth 2
      Authorization code: /oauth/authorization
      Token URL: /oauth/token scopes: write_team_members
    • or HTTP bearer

Path parameters

idstring required

Request body

activeboolean

Active (true) or inactive (false). It’s false if user is not allowed to use the system.

role'admin' | 'editor' | 'reviewer' | 'viewer'

The user’s current role

Example request

{
  "role": "editor"
}

Response

successful

activeboolean
avatarstring
company_namestring
emailstring
first_namestring
full_namestring
idstring
last_namestring
phonestring
rolestring
salutationstring

Example response

{
  "avatar": "https://example.com/user_avatar.jpeg",
  "company_name": "Trantow LLC",
  "email": "clayschaden@mail.org",
  "first_name": "Clay",
  "full_name": "Clay Schaden",
  "id": "acc_e7EVAXvJfxZ9zb",
  "last_name": "Schaden",
  "phone": "+1 (415) 555-1212",
  "role": "viewer",
  "salutation": "Dr"
}

Changes

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