Admin User

Admin User - Deactivate

Sets active=false. Row survives for audit continuity; user's next login attempt returns 401 (partial-unique-on-username-active lets a fresh admin re-register the username if needed).

delete/admin/v1/admin-users/{id}

Request

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

Path parameters

idinteger required

Response

Deactivated 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.