Organizations
/organizations/invitationsAPI Key access
In: header
Response Body
application/json
curl -X GET "https://example.com/organizations/invitations"[ { "id": "string", "email": "string", "invitedBy": "string", "organizationId": "string", "organizationName": "string", "expiresAt": "2019-08-24T14:15:22Z", "status": "pending", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }]/organizations/invitations/countAPI Key access
In: header
Response Body
application/json
curl -X GET "https://example.com/organizations/invitations/count"0/organizations/invitations/{invitationId}/acceptAPI Key access
In: header
Path Parameters
Invitation ID
Response Body
application/json
curl -X POST "https://example.com/organizations/invitations/string/accept"{ "id": "string", "email": "string", "invitedBy": "string", "organizationId": "string", "organizationName": "string", "expiresAt": "2019-08-24T14:15:22Z", "status": "pending", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}/organizations/invitations/{invitationId}/declineAPI Key access
In: header
Path Parameters
Invitation ID
Response Body
curl -X POST "https://example.com/organizations/invitations/string/decline"curl -X GET "https://example.com/organizations"[ { "id": "string", "name": "string", "createdBy": "string", "personal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "suspended": true, "suspendedAt": "2019-08-24T14:15:22Z", "suspensionReason": "string", "suspendedUntil": "2019-08-24T14:15:22Z", "suspensionCleanupGracePeriodHours": 0, "maxCpuPerSandbox": 0, "maxMemoryPerSandbox": 0, "maxDiskPerSandbox": 0, "secretQuota": 0, "maxSecretsPerSandbox": 0, "snapshotDeactivationTimeoutMinutes": 20160, "sandboxLimitedNetworkEgress": true, "previewWarningEnabled": true, "ssoEnabled": true, "defaultRegionId": "string", "authenticatedRateLimit": 0, "sandboxCreateRateLimit": 0, "sandboxLifecycleRateLimit": 0, "experimentalConfig": {}, "otelConfig": { "endpoint": "string", "headers": { "x-api-key": "my-api-key" }, "organizationId": "string" }, "authenticatedRateLimitTtlSeconds": 0, "sandboxCreateRateLimitTtlSeconds": 0, "sandboxLifecycleRateLimitTtlSeconds": 0 }]/organizationsAPI Key access
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/organizations" \ -H "Content-Type: application/json" \ -d '{ "name": "My Organization", "defaultRegionId": "us" }'{ "id": "string", "name": "string", "createdBy": "string", "personal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "suspended": true, "suspendedAt": "2019-08-24T14:15:22Z", "suspensionReason": "string", "suspendedUntil": "2019-08-24T14:15:22Z", "suspensionCleanupGracePeriodHours": 0, "maxCpuPerSandbox": 0, "maxMemoryPerSandbox": 0, "maxDiskPerSandbox": 0, "secretQuota": 0, "maxSecretsPerSandbox": 0, "snapshotDeactivationTimeoutMinutes": 20160, "sandboxLimitedNetworkEgress": true, "previewWarningEnabled": true, "ssoEnabled": true, "defaultRegionId": "string", "authenticatedRateLimit": 0, "sandboxCreateRateLimit": 0, "sandboxLifecycleRateLimit": 0, "experimentalConfig": {}, "otelConfig": { "endpoint": "string", "headers": { "x-api-key": "my-api-key" }, "organizationId": "string" }, "authenticatedRateLimitTtlSeconds": 0, "sandboxCreateRateLimitTtlSeconds": 0, "sandboxLifecycleRateLimitTtlSeconds": 0}/organizations/{organizationId}/default-regionAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/organizations/string/default-region" \ -H "Content-Type: application/json" \ -d '{ "defaultRegionId": "us" }'/organizations/{organizationId}API Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string"{ "id": "string", "name": "string", "createdBy": "string", "personal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "suspended": true, "suspendedAt": "2019-08-24T14:15:22Z", "suspensionReason": "string", "suspendedUntil": "2019-08-24T14:15:22Z", "suspensionCleanupGracePeriodHours": 0, "maxCpuPerSandbox": 0, "maxMemoryPerSandbox": 0, "maxDiskPerSandbox": 0, "secretQuota": 0, "maxSecretsPerSandbox": 0, "snapshotDeactivationTimeoutMinutes": 20160, "sandboxLimitedNetworkEgress": true, "previewWarningEnabled": true, "ssoEnabled": true, "defaultRegionId": "string", "authenticatedRateLimit": 0, "sandboxCreateRateLimit": 0, "sandboxLifecycleRateLimit": 0, "experimentalConfig": {}, "otelConfig": { "endpoint": "string", "headers": { "x-api-key": "my-api-key" }, "organizationId": "string" }, "authenticatedRateLimitTtlSeconds": 0, "sandboxCreateRateLimitTtlSeconds": 0, "sandboxLifecycleRateLimitTtlSeconds": 0}/organizations/{organizationId}API Key access
In: header
Path Parameters
Organization ID
Response Body
curl -X DELETE "https://example.com/organizations/string"/organizations/{organizationId}/usageAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/usage"{ "regionUsage": [ { "regionId": "string", "sandboxClass": "linux-vm", "totalCpuQuota": 0, "currentCpuUsage": 0, "totalMemoryQuota": 0, "currentMemoryUsage": 0, "totalDiskQuota": 0, "currentDiskUsage": 0, "totalGpuQuota": 0, "currentGpuUsage": 0, "allowedGpuTypes": [ "H100" ], "maxCpuPerSandbox": 0, "maxMemoryPerSandbox": 0, "maxDiskPerSandbox": 0, "maxDiskPerNonEphemeralSandbox": 0, "maxCpuPerGpu": 0, "maxMemoryPerGpu": 0, "maxDiskPerGpu": 0 } ], "totalSnapshotQuota": 0, "currentSnapshotUsage": 0, "totalVolumeQuota": 0, "currentVolumeUsage": 0}/organizations/{organizationId}/available-sandbox-classesAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/available-sandbox-classes"[ { "regionId": "string", "sandboxClass": "linux-vm", "gpuAvailable": true, "allowedGpuTypes": [ "H100" ] }]/organizations/{organizationId}/quotaAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/organizations/string/quota" \ -H "Content-Type: application/json" \ -d '{ "maxCpuPerSandbox": 0, "maxMemoryPerSandbox": 0, "maxDiskPerSandbox": 0, "snapshotQuota": 0, "maxSnapshotSize": 0, "volumeQuota": 0, "secretQuota": 0, "maxSecretsPerSandbox": 0, "authenticatedRateLimit": 0, "sandboxCreateRateLimit": 0, "sandboxLifecycleRateLimit": 0, "authenticatedRateLimitTtlSeconds": 0, "sandboxCreateRateLimitTtlSeconds": 0, "sandboxLifecycleRateLimitTtlSeconds": 0, "snapshotDeactivationTimeoutMinutes": 0, "maxConcurrentSnapshotProcessing": 0 }'/organizations/{organizationId}/quota/{regionId}API Key access
In: header
Path Parameters
Organization ID
ID of the region where the updated quota will be applied
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/organizations/string/quota/string" \ -H "Content-Type: application/json" \ -d '{ "totalCpuQuota": 0, "totalMemoryQuota": 0, "totalDiskQuota": 0, "totalGpuQuota": 0 }'/organizations/{organizationId}/leaveAPI Key access
In: header
Path Parameters
Organization ID
Response Body
curl -X POST "https://example.com/organizations/string/leave"/organizations/{organizationId}/suspendAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/organizations/string/suspend" \ -H "Content-Type: application/json" \ -d '{ "reason": "string", "until": "2019-08-24T14:15:22Z" }'/organizations/{organizationId}/unsuspendAPI Key access
In: header
Path Parameters
Organization ID
Response Body
curl -X POST "https://example.com/organizations/string/unsuspend"/organizations/otel-config/by-sandbox-auth-token/{authToken}API Key access
In: header
Path Parameters
Sandbox Auth Token
Response Body
application/json
curl -X GET "https://example.com/organizations/otel-config/by-sandbox-auth-token/string"{ "endpoint": "string", "headers": { "x-api-key": "my-api-key" }, "organizationId": "string"}/organizations/{organizationId}/otel-configAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/otel-config"{ "endpoint": "string", "headers": { "x-api-key": "my-api-key" }, "organizationId": "string"}/organizations/{organizationId}/otel-configAPI Key access
In: header
Path Parameters
Organization ID
Response Body
curl -X DELETE "https://example.com/organizations/string/otel-config"/organizations/{organizationId}/otel-configAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "https://example.com/organizations/string/otel-config" \ -H "Content-Type: application/json" \ -d '{ "endpoint": "string" }'/organizations/{organizationId}/sandbox-default-limited-network-egressAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/organizations/string/sandbox-default-limited-network-egress" \ -H "Content-Type: application/json" \ -d '{ "sandboxDefaultLimitedNetworkEgress": true }'/organizations/{organizationId}/preview-warningAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/organizations/string/preview-warning" \ -H "Content-Type: application/json" \ -d '{ "previewWarningEnabled": true }'/organizations/{organizationId}/sso-enabledAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/organizations/string/sso-enabled" \ -H "Content-Type: application/json" \ -d '{ "ssoEnabled": true }'/organizations/{organizationId}/experimental-configAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
Experimental configuration as a JSON object. Set to null to clear the configuration.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PUT "https://example.com/organizations/string/experimental-config" \ -H "Content-Type: application/json" \ -d '{ "otel": { "endpoint": "http://otel-collector:4317", "headers": { "api-key": "XXX" } } }'/organizations/{organizationId}/rolesAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/roles"[ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }]/organizations/{organizationId}/rolesAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/organizations/string/roles" \ -H "Content-Type: application/json" \ -d '{ "name": "Maintainer", "description": "Can manage all resources", "permissions": [ "write:registries" ] }'{ "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}/organizations/{organizationId}/roles/{roleId}API Key access
In: header
Path Parameters
Organization ID
Role ID
Response Body
curl -X DELETE "https://example.com/organizations/string/roles/string"/organizations/{organizationId}/roles/{roleId}API Key access
In: header
Path Parameters
Organization ID
Role ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/organizations/string/roles/string" \ -H "Content-Type: application/json" \ -d '{ "name": "Maintainer", "description": "Can manage all resources", "permissions": [ "write:registries" ] }'{ "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}/organizations/{organizationId}/usersAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/users"[ { "userId": "string", "organizationId": "string", "name": "string", "email": "string", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }]/organizations/{organizationId}/users/{userId}/accessAPI Key access
In: header
Path Parameters
Organization ID
User ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/organizations/string/users/string/access" \ -H "Content-Type: application/json" \ -d '{ "role": "owner", "assignedRoleIds": [ "00000000-0000-0000-0000-000000000001" ] }'{ "userId": "string", "organizationId": "string", "name": "string", "email": "string", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}/organizations/{organizationId}/users/{userId}API Key access
In: header
Path Parameters
Organization ID
User ID
Response Body
curl -X DELETE "https://example.com/organizations/string/users/string"/organizations/{organizationId}/invitationsAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/invitations"[ { "id": "string", "email": "string", "invitedBy": "string", "organizationId": "string", "organizationName": "string", "expiresAt": "2019-08-24T14:15:22Z", "status": "pending", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" }]/organizations/{organizationId}/invitationsAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/organizations/string/invitations" \ -H "Content-Type: application/json" \ -d '{ "email": "mail@example.com", "role": "owner", "assignedRoleIds": [ "00000000-0000-0000-0000-000000000001" ] }'{ "id": "string", "email": "string", "invitedBy": "string", "organizationId": "string", "organizationName": "string", "expiresAt": "2019-08-24T14:15:22Z", "status": "pending", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}/organizations/{organizationId}/invitations/{invitationId}API Key access
In: header
Path Parameters
Organization ID
Invitation ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/organizations/string/invitations/string" \ -H "Content-Type: application/json" \ -d '{ "role": "owner", "assignedRoleIds": [ "string" ] }'{ "id": "string", "email": "string", "invitedBy": "string", "organizationId": "string", "organizationName": "string", "expiresAt": "2019-08-24T14:15:22Z", "status": "pending", "role": "owner", "assignedRoles": [ { "id": "string", "name": "string", "description": "string", "permissions": [ "write:registries" ], "isGlobal": true, "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}/organizations/{organizationId}/invitations/{invitationId}/cancelAPI Key access
In: header
Path Parameters
Organization ID
Invitation ID
Response Body
curl -X POST "https://example.com/organizations/string/invitations/string/cancel"/regionsAPI Key access
In: header
Header Parameters
Use with JWT to specify the organization ID
Response Body
application/json
curl -X GET "https://example.com/regions"[ { "id": "123456789012", "name": "us-east-1", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "regionType": "shared", "createdAt": "2023-01-01T00:00:00.000Z", "updatedAt": "2023-01-01T00:00:00.000Z", "proxyUrl": "https://proxy.example.com", "sshGatewayUrl": "http://ssh-gateway.example.com", "snapshotManagerUrl": "http://snapshot-manager.example.com", "otelEndpoint": "https://otel-collector.example.com:4318" }]/regionsAPI Key access
In: header
Header Parameters
Use with JWT to specify the organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/regions" \ -H "Content-Type: application/json" \ -d '{ "name": "us-east-1" }'{ "id": "region_12345", "proxyApiKey": "proxy-api-key-xyz", "sshGatewayApiKey": "ssh-gateway-api-key-abc", "snapshotManagerUsername": "daytona", "snapshotManagerPassword": "string"}/regions/{id}API Key access
In: header
Path Parameters
Region ID
Header Parameters
Use with JWT to specify the organization ID
Response Body
application/json
curl -X GET "https://example.com/regions/string"{ "id": "123456789012", "name": "us-east-1", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "regionType": "shared", "createdAt": "2023-01-01T00:00:00.000Z", "updatedAt": "2023-01-01T00:00:00.000Z", "proxyUrl": "https://proxy.example.com", "sshGatewayUrl": "http://ssh-gateway.example.com", "snapshotManagerUrl": "http://snapshot-manager.example.com", "otelEndpoint": "https://otel-collector.example.com:4318"}/regions/{id}API Key access
In: header
Path Parameters
Region ID
Header Parameters
Use with JWT to specify the organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X PATCH "https://example.com/regions/string" \ -H "Content-Type: application/json" \ -d '{}'/regions/{id}API Key access
In: header
Path Parameters
Region ID
Header Parameters
Use with JWT to specify the organization ID
Response Body
curl -X DELETE "https://example.com/regions/string"/regions/{id}/regenerate-proxy-api-keyAPI Key access
In: header
Path Parameters
Region ID
Header Parameters
Use with JWT to specify the organization ID
Response Body
application/json
curl -X POST "https://example.com/regions/string/regenerate-proxy-api-key"{ "apiKey": "api-key-xyz123"}/regions/{id}/regenerate-ssh-gateway-api-keyAPI Key access
In: header
Path Parameters
Region ID
Header Parameters
Use with JWT to specify the organization ID
Response Body
application/json
curl -X POST "https://example.com/regions/string/regenerate-ssh-gateway-api-key"{ "apiKey": "api-key-xyz123"}/regions/{id}/regenerate-snapshot-manager-credentialsAPI Key access
In: header
Path Parameters
Region ID
Header Parameters
Use with JWT to specify the organization ID
Response Body
application/json
curl -X POST "https://example.com/regions/string/regenerate-snapshot-manager-credentials"{ "username": "daytona", "password": "string"}/organizations/{organizationId}/identity-providersAPI Key access
In: header
Path Parameters
Organization ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/identity-providers"[ { "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "name": "Company Okta", "oidcConfig": { "issuerUrl": "https://company.okta.com", "clientId": "abc123", "scope": "openid email profile" }, "emailDomains": [ "company.com", "corp.company.com" ], "allowAnyDomain": false, "trustEmailVerified": false, "defaultAssignedRoleIds": [ "00000000-0000-0000-0000-000000000001" ], "enabled": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z" }]/organizations/{organizationId}/identity-providersAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/organizations/string/identity-providers" \ -H "Content-Type: application/json" \ -d '{ "name": "Company Okta", "oidcConfig": { "issuerUrl": "https://company.okta.com", "clientId": "abc123", "clientSecret": "secret123" }, "emailDomains": [ "company.com", "corp.company.com" ] }'{ "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "name": "Company Okta", "oidcConfig": { "issuerUrl": "https://company.okta.com", "clientId": "abc123", "scope": "openid email profile" }, "emailDomains": [ "company.com", "corp.company.com" ], "allowAnyDomain": false, "trustEmailVerified": false, "defaultAssignedRoleIds": [ "00000000-0000-0000-0000-000000000001" ], "enabled": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z"}/organizations/{organizationId}/identity-providers/{id}API Key access
In: header
Path Parameters
Organization ID
Identity provider ID
Response Body
application/json
curl -X GET "https://example.com/organizations/string/identity-providers/string"{ "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "name": "Company Okta", "oidcConfig": { "issuerUrl": "https://company.okta.com", "clientId": "abc123", "scope": "openid email profile" }, "emailDomains": [ "company.com", "corp.company.com" ], "allowAnyDomain": false, "trustEmailVerified": false, "defaultAssignedRoleIds": [ "00000000-0000-0000-0000-000000000001" ], "enabled": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z"}/organizations/{organizationId}/identity-providers/{id}API Key access
In: header
Path Parameters
Organization ID
Identity provider ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/organizations/string/identity-providers/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "123e4567-e89b-12d3-a456-426614174000", "organizationId": "123e4567-e89b-12d3-a456-426614174000", "name": "Company Okta", "oidcConfig": { "issuerUrl": "https://company.okta.com", "clientId": "abc123", "scope": "openid email profile" }, "emailDomains": [ "company.com", "corp.company.com" ], "allowAnyDomain": false, "trustEmailVerified": false, "defaultAssignedRoleIds": [ "00000000-0000-0000-0000-000000000001" ], "enabled": true, "createdAt": "2025-01-01T00:00:00.000Z", "updatedAt": "2025-01-01T00:00:00.000Z"}/organizations/{organizationId}/identity-providers/{id}API Key access
In: header
Path Parameters
Organization ID
Identity provider ID
Response Body
curl -X DELETE "https://example.com/organizations/string/identity-providers/string"/organizations/{organizationId}/identity-providers/test-connectionAPI Key access
In: header
Path Parameters
Organization ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/organizations/string/identity-providers/test-connection" \ -H "Content-Type: application/json" \ -d '{ "issuerUrl": "https://company.okta.com" }'{ "success": true, "issuer": "https://company.okta.com", "error": "string"}