Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Most Arize AI endpoints require authentication. For those endpoints that require authentication, include your API key in the request header using the format

Path Parameters

idp_id
string
required

Identity provider ID returned by the list operation.

Minimum string length: 1
mapping_id
string
required

Mapping ID returned by list or add.

Minimum string length: 1

Body

application/json

Omitted fields remain unchanged. Attributes and assignment lists replace their complete values. Empty lists clear assignments. organization:null clears the organization only if the resulting mapping remains valid. project_roles:null leaves this mapping unmanaged; manual project roles are preserved only when every mapping is unmanaged.

attributes
object

SAML attribute names and exact values that select this mapping.

is_account_admin
boolean

Whether matching users receive account administrator access.

organization
object | null

Organization role assignment, or null when no organization role is assigned.

space_roles
object[]

Space role assignments for matching users. An empty array grants no space roles.

project_roles
object[] | null

Omit to leave this mapping unchanged. An array manages project roles; an empty array clears this mapping's project assignments. Null leaves this mapping unmanaged. With role sync enabled, any managed mapping enables project-role synchronization for the identity provider. Login replaces project roles using matched mappings, including removal of manual grants. Manual project roles are preserved only when every mapping is unmanaged.

Response

Successful response.

attributes
object
required

SAML attribute names and exact values that select this mapping.

is_account_admin
boolean
required

Whether matching users receive account administrator access.

space_roles
object[]
required

Space role assignments for matching users. An empty array grants no space roles.

project_roles
object[] | null
required

Configured project role assignments, or null when this mapping is unmanaged. If any mapping in this identity provider supplies an array (including an empty array), SAML replaces all project role bindings for users at login when sync_user_roles is enabled, using their matched mappings. This also replaces manually assigned project roles. Null leaves this mapping unmanaged; manual project roles are preserved only when every mapping is unmanaged.

id
string | null
required

Persistent server-generated mapping ID. File-managed mapping IDs identify the current file configuration. If a successful write returns null, read the configuration again before using the mapping ID.

organization
object | null

Organization role assignment, or null when no organization role is assigned.