integrations

Update User Integration Collaborator

Changed on

Change a user's role on a shared integration.

Args: collaborator_update: New role, which must be viewer. integration: Integration resolved from the URL. user_integration: Existing share resolved from the URL. principal: Caller the collaborator permissions are evaluated for. ctx: Async request context supplying the read session and current user.

Returns: The updated collaborator.

Raises: HTTPException: 422 when the requested role is not viewer.

patch/public/v2/integrations/{integration_id}/users/{user_id}

Request

  • Base URL
    https://api.galileo.ai
  • URL
    https://api.galileo.ai/public/v2/integrations/{integration_id}/users/{user_id}
  • Auth
    • API key in header Splunk-AO-API-Key
    • or API key in header Galileo-API-Key
    • or OAuth 2
      Password
      Token URL: https://api.galileo.ai/login
    • or HTTP basic

Path parameters

integration_idstring uuid4 required
user_idstring uuid4 required

Request body

role'owner' | 'editor' | 'annotator' | 'viewer' | 'custom' required

Response

Successful Response

idstring uuid4 required
role'owner' | 'editor' | 'annotator' | 'viewer' | 'custom' required
created_atstring date-time required
user_idstring uuid4 required
first_namestring nullable required
last_namestring nullable required
emailstring required

Changes

    • warning

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

    • warning

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

    • warning

      added the new custom enum value to the response property for the response status

    • info

      added the new custom enum value to the request property