shield logo
Docs
Shield
Users

Register User

POST
/realms/{REALM_ID}/users

Add User

/realms/{REALM_ID}/users

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Request Body

application/jsonOptional

bodyobject

Header Parameters

api-keystring

Path Parameters

REALM_ID
Required
string

curl -X POST "http://{{base_url}}/realms/string/users" \
  -H "api-key: {{API_KEY}}" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "appu@mksingh.in",
    "password": "12345",
    "first_name": "Appu",
    "last_name": "Singh",
    "resource": {
      "group": {
        "name": "no group",
        "client_id": "0193388f-24d1-7310-8681-750f11e5d4e4"
      },
      "identifiers": {
        "society": "01923863-ea6e-8679-7ec5-7c044ecd8895",
        "membership": "01923863-ea6e-7ec5-8679-7c044ecd8896",
        "employee": "01923863-ea6e-8679-7ec5-7c044ecd8897"
      }
    }
  }'

Successful response

Edit on GitHub

Last updated on