Sign in

Create user (JSON:API)

documented

Create a new user.

POST /jsonapi/user/userUsersno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "{{$site_url}}/jsonapi/user/user" \
  -X POST \
  -H "Accept: application/vnd.api+json" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -d '{"data": {"type": "user--user", "attributes": {"name": "{{$name}}", "mail": "{{$mail}}", "pass": "{{$pass}}"}}}'
Create user (JSON:API) · drupal · OpenIntegrations