Docs Navigation

Api v2 Users

Stability: prototype

  1. List all users for a organization
  2. List members of a team
  3. List all users for a project
  4. Add user to a team
  5. Remove user from a team

List all users for a organization

GET /orgs/{org_username}/users
Response
HTTP status: 200

[
  {
    "uid": "86e78b7e-2f9c-45a7-9939-ec2c9f6f64b5",
    "username": "johndoe",
    "name": "John Doe",
    "created_at": "2017-06-10 16:59:51 +0200",
    "updated_at": "2017-06-10 16:59:51 +0200"
  }
]

List members of a team

GET /teams/{team_id}/users
Response
HTTP status: 200

[
  {
    "uid": "86e78b7e-2f9c-45a7-9939-ec2c9f6f64b5",
    "username": "johndoe",
    "name": "John Doe",
    "created_at": "2017-06-10 16:59:51 +0200",
    "updated_at": "2017-06-10 16:59:51 +0200"
  }
]

List all users for a project

GET /projects/{project_id}/users
Response
HTTP status: 200

[
  {
    "uid": "86e78b7e-2f9c-45a7-9939-ec2c9f6f64b5",
    "username": "johndoe",
    "name": "John Doe",
    "created_at": "2017-06-10 16:59:51 +0200",
    "updated_at": "2017-06-10 16:59:51 +0200"
  }
]

Add user to a team

POST /teams/{team_id}/users/{user_username}
Response
HTTP status: 204

Remove user from a team

DELETE /teams/{team_id}/users/{user_username}
Response
HTTP status: 204

Semaphore Docs are open source — Edit on GitHub

Newsletter

Occasional lightweight product and blog updates. Unsubscribe at any time.

2009-2017 © Rendered Text. All rights reserved. Terms of Service, Privacy policy, Security.