OrgUsers

Update the OrgUser with the given UUID.

Updates the details for a specific user within an Organization using their unique identifier (UUID). Use this endpoint when you need to modify user information such as their permission policy.

put/organizations/{orgId}/users/{id}

Request

Path parameters

orgIdstring required

UUID of the organization

idstring required

The unique identifier (UUID) of the OrgUser to update.

Note: The orgId path parameter is also required.

Request body

versioninteger

The version number of the entity:

  • Newly created entity: On initial Create, version is set at 1 and listed in the response.
  • Update Entity: On Update, version is required and must match the existing version because a check is performed to ensure sequential versioning is preserved. Version is incremented by 1 and listed in the response.
dtEndAccessstring date-time

The date and time (in ISO 8601 format) when the user's access will end. Use this to set or update the expiration of the user's access.

Response

Returns the updated OrgUser

idstring required

The UUID of the entity.

versioninteger

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
firstNamestring

The first name of the user.

lastNamestring

The surname of the user.

contactNumberstring

The user's contact telephone number.

emailstring

The email address for this user.

organizationsstring[]

An array listing the Organizations where this user has access.

firstAcceptedTermsAndConditionsstring date-time

The date and time (in ISO 8601 format) when this user first accepted the the m3ter terms and conditions.

lastAcceptedTermsAndConditionsstring date-time

The date and time (in ISO 8601 format) when this user last accepted the the m3ter terms and conditions.

supportUserboolean

Indicates whether this is a m3ter Support user.

dtCreatedstring date-time

The date and time (in ISO-8601 format) when the user was created.

dtLastModifiedstring date-time

The date and time (in ISO-8601 format) when the user was last modified.

createdBystring

The user who created this user.

lastModifiedBystring

The unique identifier (UUID) of the user who last modified this user record.

dtEndAccessstring date-time

The date and time (in ISO 8601 format) when the user's access will end. Used to set or update the date and time a user's access expires.

Changes

    • breaking

      the //// response's property type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      added the new AUDIT_RETRIEVE enum value to the //// response property for the response status

    • info

      added the new AUDIT_RETRIEVE enum value to the request property ///

    • info

      added to the response body allOf list for the response status

    • info

      added subschema #2 to the /// response property allOf list for the response status