Users endpoint

The Users endpoint is read-only. You cannot create, update, or destroy a user via the REST API.

GET /pro/api/users

Retrieves all users, ordered by id.

Sample request:

$ curl \
   -H 'Authorization: Token token="xMsNwttqN5bVNEYcrIF01s65"' \
   https://dradis-pro.dev/pro/api/users

Result:

[
  {
    "id": 1,
    "name": "Admin",
    "email": "admin@securityroots.com",
    "created_at": "2018-12-12T15:03:00.000Z",
    "updated_at": "2018-12-14T20:39:16.000Z"
  },
  {
    "id": 3,
    "name": "Daniel",
    "email": "daniel@securityroots.com",
    "created_at": "2019-01-08T16:15:24.000Z",
    "updated_at": "2019-01-08T16:15:24.000Z"
  }
]

GET /pro/api/users/:id

Retrieves a single user.

Sample request:

$ curl \
  -H 'Authorization: Token token="xMsNwttqN5bVNEYcrIF01s65"' \
  https://dradis-pro.dev/pro/api/users/3

Result:

{
    "id": 3,
    "name": "Daniel",
    "email": "daniel@securityroots.com",
    "created_at": "2019-01-08T16:15:24.000Z",
    "updated_at": "2019-01-08T16:15:24.000Z"
}

Next help article: Projects endpoint →

Streamline InfoSec Project Delivery

Learn practical tips to reduce the overhead that drags down security assessment delivery with this 5-day course. These proven, innovative, and straightforward techniques will optimize all areas of your next engagement including:

  • Scoping
  • Scheduling
  • Project Planning
  • Delivery
  • Intra-team Collaboration
  • Reporting and much more...

Your email is kept private. We don't do the spam thing.