v97

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-31135175384.2 KB
Credential Providers

Update credential provider

Update a credential provider's configuration.

patch/org/credential_providers/{id}

Path parameters

idstring required

Credential provider ID

Request body

namestring

Human-readable name for this provider instance

enabledboolean

Whether the provider is enabled for credential lookups

priorityinteger

Priority order for credential lookups (lower numbers are checked first)

tokenstring

New service account token (to rotate credentials)

cache_ttl_secondsinteger

How long to cache credential lists

Example request

{
  "name": "my-1password",
  "enabled": true,
  "token": "ops_eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "cache_ttl_seconds": 300
}

Response

Credential provider updated successfully

idstring required

Unique identifier for the credential provider

provider_type'onepassword' required

Type of credential provider

namestring required

Human-readable name for this provider instance

enabledboolean required

Whether the provider is enabled for credential lookups

priorityinteger required

Priority order for credential lookups (lower numbers are checked first)

created_atstring date-time required

When the credential provider was created

updated_atstring date-time required

When the credential provider was last updated

Example response

{
  "id": "credprov_abc123xyz",
  "provider_type": "onepassword",
  "name": "my-1password",
  "enabled": true,
  "created_at": "2025-01-15T10:30:00Z",
  "updated_at": "2025-01-15T10:30:00Z"
}