Management API Keys
Manage API keys programmatically
Linkora provides endpoints to programmatically manage your API keys, enabling key creation and management for applications that need to distribute or rotate keys automatically.
Creating a Management API Key
To use the key management API, you first need to create a Management API key:
- Go to the Management API Keys page
- Click "Create New Key"
- Enter a name and choose an expiration
- Copy the key when it is shown. You will not be able to see it again
Management keys cannot be used to make API calls to Linkora's completion endpoints - they are exclusively for administrative operations.
A management key's scope and permissions are fixed when it is created. To change either, create a new key and delete the old one.
Expiration
We recommend setting an expiration date on every management key. A leaked management key could create, edit and delete the API keys in your account other than those provisioned by a Connect client, and one with no expiration stays valid until you delete it.
- The expiration is fixed when the key is created and cannot be changed afterwards. To extend access, create a new key and delete the old one.
- Once a key's expiration passes, every request that uses it fails with
401 Unauthorizedand the messageAPI key expired. Expired keys still appear on the Management API Keys page until you delete them.
401 API key expired responses. Schedule rotation ahead of the expiration date shown next to the key.Scope
A management key is scoped either to the whole organization or to one workspace.
Organization-scoped keys
Organization-scoped keys cover administrative actions across all of the account's workspaces. For organizations, only Organization Admins can create them, on the Management API Keys page.
Workspace-scoped keys
Workspace-scoped keys act only on their own workspace. To create one:
- Open the workspace, go to Keys and select the Management keys tab. Workspace Admins of that workspace can create keys here; Organization Admins can create them in any workspace.
- Click "New management key". The dialog shows which workspace the key is scoped to.
- Enter a name, choose an expiration and an access level.
- Copy the key when it is shown.
A Workspace Admin can create, list and delete management keys for their own workspace only. They cannot create organization-scoped keys or keys for another workspace.
A workspace-scoped key can call only the routes below, and only for its own workspace. When a route takes an optional workspace_id, it defaults to the key's own workspace. Naming another workspace, or a resource that belongs to one, is refused.
| Area | Routes | Notes |
|---|---|---|
| API keys | `GET`, `POST /api/v1/keys` `GET`, `PATCH`, `DELETE /api/v1/keys/{hash}` | Only the workspace's keys. A `creator_user_id`, when set, must be a member of the workspace. |
| Workspace | `GET`, `PATCH /api/v1/workspaces/{id}` `GET /api/v1/workspaces/{id}/members` `POST /api/v1/workspaces/{id}/members/add` `POST /api/v1/workspaces/{id}/members/remove` | |
| Budgets | `GET /api/v1/workspaces/{workspace_ref}/budgets` `GET /api/v1/workspaces/{workspace_ref}/budgets/{interval}` | Read only. Setting or deleting a workspace budget (`PUT`, `DELETE`) needs an organization-scoped key, matching the dashboard, where only Organization Admins can edit workspace budgets. |
| Guardrails | `GET`, `POST /api/v1/guardrails` `GET`, `PATCH`, `DELETE /api/v1/guardrails/{id}` `GET /api/v1/guardrails/assignments/keys` `GET /api/v1/guardrails/assignments/members` `GET`, `POST /api/v1/guardrails/{id}/assignments/keys` `POST /api/v1/guardrails/{id}/assignments/keys/remove` `GET /api/v1/guardrails/{id}/assignments/members` | Assigning or unassigning organization members needs an organization-scoped key. A key-assignment batch that names a key outside the workspace is rejected before anything changes. |
| Guardrail policies | `GET`, `POST /api/v1/guardrails/policies/{type}` `GET`, `PUT`, `DELETE /api/v1/guardrails/policies/{type}/{id}` `GET`, `PUT /api/v1/guardrails/policies/assignments/api-keys/{hash}` `GET`, `PUT /api/v1/guardrails/policies/assignments/members/{member_id}` | `{type}` is `budget`, `moderation` or `model-availability`. Account policies (`/api/v1/guardrails/policies/account`) need an organization-scoped key. |
| BYOK | `GET`, `POST /api/v1/byok` `GET`, `PATCH`, `DELETE /api/v1/byok/{id}` | `allowed_api_key_hashes` can name only keys in the workspace. |
| Observability | `GET`, `POST /api/v1/observability/destinations` `GET`, `PATCH`, `DELETE /api/v1/observability/destinations/{id}` | `api_key_hashes` can name only keys in the destination's workspace. |
| Analytics | `GET /api/v1/analytics/meta` `POST /api/v1/analytics/query` | The key needs `activity:view_all` on its workspace. Results cover only the workspace and exclude legacy rows with no workspace. Possible-cache metrics such as `possible_cached_tokens` return `400`. |
| Activity | `GET /api/v1/activity` | The key needs `activity:view_all` on its workspace. `api_key_hash` and `user_id` match only keys and members of the workspace. Results exclude legacy rows with no workspace, including for the default workspace. |
| Presets | `POST /api/v1/presets/{slug}/chat/completions` `POST /api/v1/presets/{slug}/messages` `POST /api/v1/presets/{slug}/responses` `DELETE /api/v1/presets/{slug}` `POST /api/v1/presets/{slug}/restore` | Creates, archives and restores presets in the workspace. |
Every other route in Routes That Require a Management Key needs an organization-scoped key and returns 403 Forbidden to a workspace-scoped key. This includes listing, creating and deleting workspaces, setting and deleting workspace budgets, credits, organization settings and members, SCIM, private endpoints and providers, external users and datasets.
Workspace members
- Programmatic Management: Endpoints for managing workspace members (
POST /api/v1/workspaces/{id}/members/add), keys, and budgets require a Management API key. Members added via the API automatically inherit their organization role (Org Admins become Workspace Admins; Org Members become Workspace Members). - Dashboard UI: Within the Linkora dashboard, Workspace Admins can add members on the workspace Members page without requiring a Management API key. Assigning workspace roles there additionally requires a Pro or Enterprise plan.
Permissions
Organizations choose a management key's access level when creating it, under Access level:
- Read/write keys can call every management route their scope allows.
- Read only keys can call every read (
GET, and read-only queries such asPOST /api/v1/analytics/query) that a read/write key of the same scope can call, and nothing else. Any request that would create, change or delete something returns403 Forbidden. One exception:GET /api/v1/guardrails/policies/assignments/members/{member_id}andGET /api/v1/guardrails/policies/assignments/api-keys/{hash}need a read/write key, because reading an assignment creates it if it doesn't exist yet.
Use read-only keys for monitoring, reporting and auditing: listing API keys and their usage, reading activity and analytics, checking guardrails, budgets and BYOK credentials, and listing workspaces and their members.
# Works with a read-only key
curl https://link-ora.net/api/v1/keys \
-H "Authorization: Bearer $READ_ONLY_MANAGEMENT_KEY"
# Returns 403 Forbidden with a read-only key
curl -X POST https://link-ora.net/api/v1/keys \
-H "Authorization: Bearer $READ_ONLY_MANAGEMENT_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "New key"}'Errors
| Status | Message | Meaning |
|---|---|---|
| `401` | `Invalid management key` | The key or its account was deleted, or it is missing or not a management key. Some routes return `Missing Authentication header` when no key is sent, or `Invalid API key` when the key doesn't exist or was deleted. |
| `401` | `API key expired` | The key's expiration has passed. |
| `403` | `Management key does not have permission for this request` | A read-only key made a write, or the key's scope does not include this resource. |
| `403` | `Management key is scoped to a workspace; this request requires an organization-scoped management key` | A workspace-scoped key called an organization-level route. |
| `403` | `Management key is scoped to a different workspace` | A workspace-scoped key named another workspace in its organization. |
Use Cases
Common scenarios for programmatic key management include:
- SaaS Applications: Automatically create unique API keys for each customer instance
- Key Rotation: Regularly rotate API keys for security compliance
- Usage Monitoring: Track key usage and automatically disable keys that exceed limits (with optional daily/weekly/monthly limit resets)
Example Usage
All key management endpoints are under /api/v1/keys and require a Management API key in the Authorization header.
import { Linkora } from '@linkora/sdk';
const linkora = new Linkora({
apiKey: 'your-management-key', // Use your Management API key
});
// List the most recent 100 API keys
const keys = await linkora.apiKeys.list();
// You can paginate using the offset parameter
const keysPage2 = await linkora.apiKeys.list({ offset: 100 });
// Create a new API key
const newKey = await linkora.apiKeys.create({
name: 'Customer Instance Key',
limit: 1000, // Optional credit limit
});
// Get a specific key
const keyHash = '<YOUR_KEY_HASH>';
const key = await linkora.apiKeys.get(keyHash);
// Update a key
const updatedKey = await linkora.apiKeys.update(keyHash, {
name: 'Updated Key Name',
disabled: true, // Optional: Disable the key
includeByokInLimit: false, // Optional: control BYOK usage in limit
limitReset: 'daily', // Optional: reset limit every day at midnight UTC
});
// Delete a key
await linkora.apiKeys.delete(keyHash);Response Format
API responses return JSON objects containing key information:
{
"data": [
{
"created_at": "2025-02-19T20:52:27.363244+00:00",
"updated_at": "2025-02-19T21:24:11.708154+00:00",
"hash": "<YOUR_KEY_HASH>",
"label": "sk-or-v1-abc...123",
"name": "Customer Key",
"disabled": false,
"limit": 10,
"limit_remaining": 10,
"limit_reset": null,
"include_byok_in_limit": false,
"usage": 0,
"usage_daily": 0,
"usage_weekly": 0,
"usage_monthly": 0,
"byok_usage": 0,
"byok_usage_daily": 0,
"byok_usage_weekly": 0,
"byok_usage_monthly": 0
}
]
}When creating a new key, the response will include the key string itself. Read more in the API reference.
Organization Settings
A management key created in an organization can also read and update that organization's settings at /api/v1/organization/settings. The organization is the one the key belongs to; it cannot be chosen per request.
Currently exposed setting:
is_filtered_model_catalog_enabled(defaultfalse): the same switch as Settings → Privacy → "Filter the model catalog for API keys". When enabled,GET /api/v1/modelscalled with one of the organization's API keys returns only the models that key can use (the/api/v1/models/usercatalog), and the signed-in dashboard shows the same list. Requests without a key still receive the public catalog. Which models remain visible is decided by the active workspace's guardrails and provider preferences; enabling the switch does not change those.
# Read the current settings
curl https://link-ora.net/api/v1/organization/settings \
-H "Authorization: Bearer $MANAGEMENT_API_KEY"
# Enable the filtered model catalog
curl -X PATCH https://link-ora.net/api/v1/organization/settings \
-H "Authorization: Bearer $MANAGEMENT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"is_filtered_model_catalog_enabled": true}'Both calls return the persisted settings:
{
"data": {
"id": "org_2dHFtVWx2n56w6HkM0000000000",
"is_filtered_model_catalog_enabled": true
}
}Management keys created in a personal account receive 404 Not Found from these routes.
Routes That Require a Management Key
The following documented routes reject regular API keys and must be called with a Management API key.
Analytics
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/activity` | [Get user activity grouped by endpoint](https://link-ora.net/docs/api/api-reference/analytics/get-user-activity-grouped-by-endpoint.md) |
| `GET` | `/api/v1/analytics/meta` | [Get available analytics metrics and dimensions](https://link-ora.net/docs/api/api-reference/analytics/get-available-analytics-metrics-and-dimensions.md) |
| `POST` | `/api/v1/analytics/query` | [Query analytics data](https://link-ora.net/docs/api/api-reference/analytics/query-analytics-data.md) |
API Keys
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/keys` | [List API keys](https://link-ora.net/docs/api/api-reference/api-keys/list-api-keys.md) |
| `POST` | `/api/v1/keys` | [Create a new API key](https://link-ora.net/docs/api/api-reference/api-keys/create-a-new-api-key.md) |
| `GET` | `/api/v1/keys/{hash}` | [Get a single API key](https://link-ora.net/docs/api/api-reference/api-keys/get-a-single-api-key.md) |
| `DELETE` | `/api/v1/keys/{hash}` | [Delete an API key](https://link-ora.net/docs/api/api-reference/api-keys/delete-an-api-key.md) |
| `PATCH` | `/api/v1/keys/{hash}` | [Update an API key](https://link-ora.net/docs/api/api-reference/api-keys/update-an-api-key.md) |
BYOK
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/byok` | [List BYOK provider credentials](https://link-ora.net/docs/api/api-reference/byok/list-byok-provider-credentials.md) |
| `POST` | `/api/v1/byok` | [Create a BYOK provider credential](https://link-ora.net/docs/api/api-reference/byok/create-a-byok-provider-credential.md) |
| `GET` | `/api/v1/byok/{id}` | [Get a BYOK provider credential](https://link-ora.net/docs/api/api-reference/byok/get-a-byok-provider-credential.md) |
| `DELETE` | `/api/v1/byok/{id}` | [Delete a BYOK provider credential](https://link-ora.net/docs/api/api-reference/byok/delete-a-byok-provider-credential.md) |
| `PATCH` | `/api/v1/byok/{id}` | [Update a BYOK provider credential](https://link-ora.net/docs/api/api-reference/byok/update-a-byok-provider-credential.md) |
Credits
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/credits` | [Get remaining credits](https://link-ora.net/docs/api/api-reference/credits/get-remaining-credits.md) |
External Users
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/external-users` | [List registered external users](https://link-ora.net/docs/api/api-reference/external-users/list-registered-external-users.md) |
| `POST` | `/api/v1/external-users` | [Register an external user](https://link-ora.net/docs/api/api-reference/external-users/register-an-external-user.md) |
| `GET` | `/api/v1/external-users/{user}` | [Get a registered external user](https://link-ora.net/docs/api/api-reference/external-users/get-a-registered-external-user.md) |
| `DELETE` | `/api/v1/external-users/{user}` | [Deactivate a registered external user](https://link-ora.net/docs/api/api-reference/external-users/deactivate-a-registered-external-user.md) |
| `PATCH` | `/api/v1/external-users/{user}` | [Update a registered external user](https://link-ora.net/docs/api/api-reference/external-users/update-a-registered-external-user.md) |
Generations
| Method | Route | Reference |
|---|---|---|
| `POST` | `/api/v1/generation/feedback` | [Submit feedback for a generation](https://link-ora.net/docs/api/api-reference/generations/submit-feedback-for-a-generation.md) |
Guardrail Policies
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/guardrails/policies/account` | [List workspace-wide policies](https://link-ora.net/docs/api/api-reference/guardrail-policies/list-workspace-wide-policies.md) |
| `POST` | `/api/v1/guardrails/policies/account` | [Create a workspace-wide policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/create-a-workspace-wide-policy.md) |
| `PUT` | `/api/v1/guardrails/policies/account/{id}` | [Update a workspace-wide policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/update-a-workspace-wide-policy.md) |
| `DELETE` | `/api/v1/guardrails/policies/account/{id}` | [Delete a workspace-wide policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/delete-a-workspace-wide-policy.md) |
| `GET` | `/api/v1/guardrails/policies/assignments/api-keys/{hash}` | [Get an API key policy assignment](https://link-ora.net/docs/api/api-reference/guardrail-policies/get-an-api-key-policy-assignment.md) |
| `PUT` | `/api/v1/guardrails/policies/assignments/api-keys/{hash}` | [Change an API key policy assignment](https://link-ora.net/docs/api/api-reference/guardrail-policies/change-an-api-key-policy-assignment.md) |
| `GET` | `/api/v1/guardrails/policies/assignments/members/{member_id}` | [Get a member policy assignment](https://link-ora.net/docs/api/api-reference/guardrail-policies/get-a-member-policy-assignment.md) |
| `PUT` | `/api/v1/guardrails/policies/assignments/members/{member_id}` | [Change a member policy assignment](https://link-ora.net/docs/api/api-reference/guardrail-policies/change-a-member-policy-assignment.md) |
| `GET` | `/api/v1/guardrails/policies/budget` | [List budget policies](https://link-ora.net/docs/api/api-reference/guardrail-policies/list-budget-policies.md) |
| `POST` | `/api/v1/guardrails/policies/budget` | [Create a budget policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/create-a-budget-policy.md) |
| `GET` | `/api/v1/guardrails/policies/budget/{id}` | [Get a budget policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/get-a-budget-policy.md) |
| `PUT` | `/api/v1/guardrails/policies/budget/{id}` | [Update a budget policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/update-a-budget-policy.md) |
| `DELETE` | `/api/v1/guardrails/policies/budget/{id}` | [Delete a budget policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/delete-a-budget-policy.md) |
| `GET` | `/api/v1/guardrails/policies/model-availability` | [List model availability policies](https://link-ora.net/docs/api/api-reference/guardrail-policies/list-model-availability-policies.md) |
| `POST` | `/api/v1/guardrails/policies/model-availability` | [Create a model availability policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/create-a-model-availability-policy.md) |
| `GET` | `/api/v1/guardrails/policies/model-availability/{id}` | [Get a model availability policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/get-a-model-availability-policy.md) |
| `PUT` | `/api/v1/guardrails/policies/model-availability/{id}` | [Update a model availability policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/update-a-model-availability-policy.md) |
| `DELETE` | `/api/v1/guardrails/policies/model-availability/{id}` | [Delete a model availability policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/delete-a-model-availability-policy.md) |
| `GET` | `/api/v1/guardrails/policies/moderation` | [List moderation policies](https://link-ora.net/docs/api/api-reference/guardrail-policies/list-moderation-policies.md) |
| `POST` | `/api/v1/guardrails/policies/moderation` | [Create a moderation policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/create-a-moderation-policy.md) |
| `GET` | `/api/v1/guardrails/policies/moderation/{id}` | [Get a moderation policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/get-a-moderation-policy.md) |
| `PUT` | `/api/v1/guardrails/policies/moderation/{id}` | [Update a moderation policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/update-a-moderation-policy.md) |
| `DELETE` | `/api/v1/guardrails/policies/moderation/{id}` | [Delete a moderation policy](https://link-ora.net/docs/api/api-reference/guardrail-policies/delete-a-moderation-policy.md) |
Guardrails
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/guardrails` | [List guardrails](https://link-ora.net/docs/api/api-reference/guardrails/list-guardrails.md) |
| `POST` | `/api/v1/guardrails` | [Create a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/create-a-guardrail.md) |
| `GET` | `/api/v1/guardrails/{id}` | [Get a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/get-a-guardrail.md) |
| `DELETE` | `/api/v1/guardrails/{id}` | [Delete a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/delete-a-guardrail.md) |
| `PATCH` | `/api/v1/guardrails/{id}` | [Update a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/update-a-guardrail.md) |
| `GET` | `/api/v1/guardrails/{id}/assignments/keys` | [List key assignments for a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/list-key-assignments-for-a-guardrail.md) |
| `POST` | `/api/v1/guardrails/{id}/assignments/keys` | [Bulk assign keys to a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/bulk-assign-keys-to-a-guardrail.md) |
| `POST` | `/api/v1/guardrails/{id}/assignments/keys/remove` | [Bulk unassign keys from a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/bulk-unassign-keys-from-a-guardrail.md) |
| `GET` | `/api/v1/guardrails/{id}/assignments/members` | [List member assignments for a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/list-member-assignments-for-a-guardrail.md) |
| `POST` | `/api/v1/guardrails/{id}/assignments/members` | [Bulk assign members to a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/bulk-assign-members-to-a-guardrail.md) |
| `POST` | `/api/v1/guardrails/{id}/assignments/members/remove` | [Bulk unassign members from a guardrail](https://link-ora.net/docs/api/api-reference/guardrails/bulk-unassign-members-from-a-guardrail.md) |
| `GET` | `/api/v1/guardrails/assignments/keys` | [List all key assignments](https://link-ora.net/docs/api/api-reference/guardrails/list-all-key-assignments.md) |
| `GET` | `/api/v1/guardrails/assignments/members` | [List all member assignments](https://link-ora.net/docs/api/api-reference/guardrails/list-all-member-assignments.md) |
Observability
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/observability/destinations` | [List observability destinations](https://link-ora.net/docs/api/api-reference/observability/list-observability-destinations.md) |
| `POST` | `/api/v1/observability/destinations` | [Create an observability destination](https://link-ora.net/docs/api/api-reference/observability/create-an-observability-destination.md) |
| `GET` | `/api/v1/observability/destinations/{id}` | [Get an observability destination](https://link-ora.net/docs/api/api-reference/observability/get-an-observability-destination.md) |
| `DELETE` | `/api/v1/observability/destinations/{id}` | [Delete an observability destination](https://link-ora.net/docs/api/api-reference/observability/delete-an-observability-destination.md) |
| `PATCH` | `/api/v1/observability/destinations/{id}` | [Update an observability destination](https://link-ora.net/docs/api/api-reference/observability/update-an-observability-destination.md) |
Organization
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/organization/members` | [List organization members](https://link-ora.net/docs/api/api-reference/organization/list-organization-members.md) |
| `GET` | `/api/v1/organization/settings` | [Get organization settings](https://link-ora.net/docs/api/api-reference/organization/get-organization-settings.md) |
| `PATCH` | `/api/v1/organization/settings` | [Update organization settings](https://link-ora.net/docs/api/api-reference/organization/update-organization-settings.md) |
Presets
| Method | Route | Reference |
|---|---|---|
| `DELETE` | `/api/v1/presets/{slug}` | [Delete a preset](https://link-ora.net/docs/api/api-reference/presets/delete-a-preset.md) |
| `POST` | `/api/v1/presets/{slug}/chat/completions` | [Create a preset from a chat-completions request body](https://link-ora.net/docs/api/api-reference/presets/create-a-preset-from-a-chat-completions-request-body.md) |
| `POST` | `/api/v1/presets/{slug}/messages` | [Create a preset from a messages request body](https://link-ora.net/docs/api/api-reference/presets/create-a-preset-from-a-messages-request-body.md) |
| `POST` | `/api/v1/presets/{slug}/responses` | [Create a preset from a responses request body](https://link-ora.net/docs/api/api-reference/presets/create-a-preset-from-a-responses-request-body.md) |
| `POST` | `/api/v1/presets/{slug}/restore` | [Restore a preset](https://link-ora.net/docs/api/api-reference/presets/restore-a-preset.md) |
Private Endpoints
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/private-endpoints` | [List private endpoints](https://link-ora.net/docs/api/api-reference/private-endpoints/list-private-endpoints.md) |
| `POST` | `/api/v1/private-endpoints` | [Create a private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/create-a-private-endpoint.md) |
| `GET` | `/api/v1/private-endpoints/{id}` | [Get a private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/get-a-private-endpoint.md) |
| `DELETE` | `/api/v1/private-endpoints/{id}` | [Delete a private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/delete-a-private-endpoint.md) |
| `PATCH` | `/api/v1/private-endpoints/{id}` | [Update a private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/update-a-private-endpoint.md) |
| `POST` | `/api/v1/private-endpoints/{id}/activate` | [Activate a validated private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/activate-a-validated-private-endpoint.md) |
| `POST` | `/api/v1/private-endpoints/{id}/disable` | [Disable a private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/disable-a-private-endpoint.md) |
| `POST` | `/api/v1/private-endpoints/{id}/enable` | [Enable a private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/enable-a-private-endpoint.md) |
| `POST` | `/api/v1/private-endpoints/{id}/validate` | [Validate a draft private endpoint](https://link-ora.net/docs/api/api-reference/private-endpoints/validate-a-draft-private-endpoint.md) |
Private Providers
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/private-providers` | [List private providers](https://link-ora.net/docs/api/api-reference/private-providers/list-private-providers.md) |
| `POST` | `/api/v1/private-providers` | [Create a private provider](https://link-ora.net/docs/api/api-reference/private-providers/create-a-private-provider.md) |
| `GET` | `/api/v1/private-providers/{slug}` | [Get a private provider](https://link-ora.net/docs/api/api-reference/private-providers/get-a-private-provider.md) |
| `DELETE` | `/api/v1/private-providers/{slug}` | [Delete a private provider](https://link-ora.net/docs/api/api-reference/private-providers/delete-a-private-provider.md) |
| `PATCH` | `/api/v1/private-providers/{slug}` | [Update a private provider](https://link-ora.net/docs/api/api-reference/private-providers/update-a-private-provider.md) |
SCIM
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/scim/group-mappings` | [List SCIM group mappings](https://link-ora.net/docs/api/api-reference/scim/list-scim-group-mappings.md) |
| `POST` | `/api/v1/scim/group-mappings` | [Create a SCIM group mapping](https://link-ora.net/docs/api/api-reference/scim/create-a-scim-group-mapping.md) |
| `GET` | `/api/v1/scim/group-mappings/{id}` | [Get a SCIM group mapping](https://link-ora.net/docs/api/api-reference/scim/get-a-scim-group-mapping.md) |
| `DELETE` | `/api/v1/scim/group-mappings/{id}` | [Delete a SCIM group mapping](https://link-ora.net/docs/api/api-reference/scim/delete-a-scim-group-mapping.md) |
| `PATCH` | `/api/v1/scim/group-mappings/{id}` | [Update a SCIM group mapping](https://link-ora.net/docs/api/api-reference/scim/update-a-scim-group-mapping.md) |
| `GET` | `/api/v1/scim/groups` | [List SCIM groups](https://link-ora.net/docs/api/api-reference/scim/list-scim-groups.md) |
| `POST` | `/api/v1/scim/sync-jobs` | [Start a SCIM directory sync](https://link-ora.net/docs/api/api-reference/scim/start-a-scim-directory-sync.md) |
| `GET` | `/api/v1/scim/sync-jobs/{id}` | [Get SCIM directory sync status](https://link-ora.net/docs/api/api-reference/scim/get-scim-directory-sync-status.md) |
Workspaces
| Method | Route | Reference |
|---|---|---|
| `GET` | `/api/v1/workspaces` | [List workspaces](https://link-ora.net/docs/api/api-reference/workspaces/list-workspaces.md) |
| `POST` | `/api/v1/workspaces` | [Create a workspace](https://link-ora.net/docs/api/api-reference/workspaces/create-a-workspace.md) |
| `GET` | `/api/v1/workspaces/{id}` | [Get a workspace](https://link-ora.net/docs/api/api-reference/workspaces/get-a-workspace.md) |
| `DELETE` | `/api/v1/workspaces/{id}` | [Delete a workspace](https://link-ora.net/docs/api/api-reference/workspaces/delete-a-workspace.md) |
| `PATCH` | `/api/v1/workspaces/{id}` | [Update a workspace](https://link-ora.net/docs/api/api-reference/workspaces/update-a-workspace.md) |
| `GET` | `/api/v1/workspaces/{id}/members` | [List workspace members](https://link-ora.net/docs/api/api-reference/workspaces/list-workspace-members.md) |
| `POST` | `/api/v1/workspaces/{id}/members/add` | [Bulk add members to a workspace](https://link-ora.net/docs/api/api-reference/workspaces/bulk-add-members-to-a-workspace.md) |
| `POST` | `/api/v1/workspaces/{id}/members/remove` | [Bulk remove members from a workspace](https://link-ora.net/docs/api/api-reference/workspaces/bulk-remove-members-from-a-workspace.md) |
| `GET` | `/api/v1/workspaces/{workspace_ref}/budgets` | [List workspace budgets](https://link-ora.net/docs/api/api-reference/workspaces/list-workspace-budgets.md) |
| `GET` | `/api/v1/workspaces/{workspace_ref}/budgets/{interval}` | [Get a workspace budget](https://link-ora.net/docs/api/api-reference/workspaces/get-a-workspace-budget.md) |
| `PUT` | `/api/v1/workspaces/{workspace_ref}/budgets/{interval}` | [Create or update a workspace budget](https://link-ora.net/docs/api/api-reference/workspaces/create-or-update-a-workspace-budget.md) |
| `DELETE` | `/api/v1/workspaces/{workspace_ref}/budgets/{interval}` | [Delete a workspace budget](https://link-ora.net/docs/api/api-reference/workspaces/delete-a-workspace-budget.md) |
