Admin User

Admin User - Create

Body: username*, password*, email*, first_name, last_name, phone (optional; E.164-normalized), role (default 'admin'). Password minimum 12 chars.

post/admin/v1/admin-users

Request

  • Base URL: https://api.juju.com
  • URL: https://api.juju.com/admin/v1/admin-users
  • Auth: none declared

Response

Created admin user.

metaobject required

Pagination and context metadata. Always present, empty object ({}) when no metadata applies to the response.

errorsstring[] required

Empty array on success. On failure, human-readable error strings suitable for surfacing to end users.

Example response

{
  "data": {
    "role": "admin"
  },
  "errors": []
}

Changes

No recorded changes to this operation across all 1 revision of this API.