v1

latestOpenAPI 3.0.02026-07-14198572488.4 KB
Site Users

Create new site user.

Create new user that has site access rights.

post/v1/sites/users

Request body

namestring required

Name of the site user

emailstring required

Email address of the site user

Example request

{
  "name": "Ms. Site User",
  "email": "siteuser@rocket.net"
}

Response

OK

successboolean

whether the request succeeded

errorsstring[]
messagesstring[] nullable

Example response

{
  "success": true,
  "errors": [],
  "messages": [],
  "result": {
    "id": 5,
    "site_id": 8880000888,
    "name": "Ms. Site User",
    "email": "siteuser@rocket.net",
    "created_at": "2024-01-01T02:00:00Z"
  }
}