Skip to main content
PUT
Bulk update workspace access

Authorizations

x-portkey-api-key
string
header
required

Path Parameters

slug
string
required

Body

application/json
workspaces
object[]
global_workspace_access
object
override_existing_workspace_access
boolean

Whether to override existing workspace access settings

create_default_provider
boolean
default:true

Whether to automatically create a default provider when granting workspace access. Defaults to true. Can be overridden per workspace.

default_provider_slug
string

Custom slug for the auto-created default provider. Applies to all workspaces unless overridden per workspace. If the slug already exists, the request will fail with a validation error.

Response

200 - application/json

Workspace access updated successfully

The response is of type object.

Last modified on April 8, 2026