Zone Members

Update organization user role in a zone

Updates the role of an existing zone member. Only organization administrators can perform this action.

patch/zones/{zoneId}/members/{organizationUserId}

Path parameters

zoneIdstring required

Zone ID

organizationUserIdstring required

Organization user ID

Request body

role'zone_manager' | 'zone_viewer' required

Zone role type. zone_manager has full management access, zone_viewer has read-only access.

Response

Represents an organization user's membership in a zone with an assigned role

idstring required

Unique identifier of the zone member

organization_user_idstring required

Organization user ID of the zone member

zone_idstring required

Zone ID the organization user is a member of

organization_idstring required

Organization ID that owns the zone

role'zone_manager' | 'zone_viewer' required

Zone role type. zone_manager has full management access, zone_viewer has read-only access.

created_atstring date-time required

Entity creation timestamp

updated_atstring date-time required

Entity update timestamp

Changes

Changed in 2 of the 23 revisions of this API.5

    • added the non-success response with the status 400

      response-non-success-status-added

    • added the non-success response with the status 404

      response-non-success-status-added

    • the endpoint scheme security OAuth2 was added to the API

      api-security-added

    • the endpoint scheme security bearerAuth was added to the API

      api-security-added

    • the endpoint scheme security iam_bearerAuth was removed from the API

      api-security-removed

    This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog