User

Updates a user

Updates a user, updating all fields. Any fields omitted in the request body will be blanked in the existing user object.

put/auth/users/{id}

Request

  • Base URL
    https://api.sandbox.zusapi.com
  • URL
    https://api.sandbox.zusapi.com/auth/users/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required

Request body

Example request

{
  "data": {
    "relationships": {
      "auth/builders": {
        "data": {
          "type": "auth/builders"
        }
      },
      "auth/roles": {
        "data": {
          "type": "auth/roles"
        }
      },
      "fhir/Patient": {
        "data": {
          "type": "fhir/Patient"
        }
      },
      "fhir/practitioner": {
        "data": {
          "type": "fhir/practitioner"
        }
      }
    }
  }
}

Response

Success

Example response

{
  "data": {
    "type": "auth/users",
    "relationships": {
      "auth/builders": {
        "data": {
          "type": "auth/builders"
        }
      },
      "auth/roles": {
        "data": {
          "type": "auth/roles"
        }
      },
      "fhir/patients": {
        "data": {
          "type": "fhir/patients"
        }
      },
      "fhir/practitioner": {
        "data": {
          "type": "fhir/Practitioner"
        }
      }
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.