PUT
/v1/organizations/{organizationId}/projects/{projectId}/environments/{environmentId}/tenants/{tenantId}/data-integration-connections/{dataIntegrationConnectionId}/credentialRotate a host-only Tenant Connection credential
Conditionally replace a host-only credential and expiry. Disable a Sandbox-exposed Connection and create a new one with fresh authority evidence instead.
Authentication
Send an API key as a Bearer token in the Authorization header.
Parameters
Request body
Required.
application/jsonobject- unknown properties allowed
false
credentialrequiredstringThe replacement write-only provider credential.- maximum length
32768 - minimum length
1 - pattern
^[!-~]+$ - write only
true
- maximum length
credentialExpiresAtrequired- When the replacement credential expires, or null when it does not.Any of
stringnull
Responses
200TenantDataIntegrationConnectionapplication/json400The request path, headers, query, or JSON body did not satisfy the published schema401Unauthorizedapplication/json403Forbiddenapplication/json404NotFoundapplication/json409Conflict | SandboxCredentialRotationConflictapplication/json412DataIntegrationPreconditionFailedapplication/jsonReusable schemas
TenantDataIntegrationConnectionEncoded
object- unknown properties allowed
false
dataIntegrationConnectionIdrequiredstringThe scoped data Integration Connection identifier.- maximum length
64 - pattern
^data_integration_connection_[\s\S]+$
- maximum length
organizationIdrequiredstringThe Organization identifier.- maximum length
64 - pattern
^org_[\s\S]+$
- maximum length
projectIdrequiredstringThe Project identifier.- maximum length
64 - pattern
^proj_[\s\S]+$
- maximum length
environmentIdrequiredstringThe Environment identifier.- maximum length
64 - pattern
^env_[\s\S]+$
- maximum length
tenantIdrequiredstringThe Tenant identifier.- maximum length
64 - pattern
^tenant_[\s\S]+$
- maximum length
scopeLevelrequiredstringThe exact tenancy level that owns this Connection authority.- allowed values
"tenant"
- allowed values
integrationIdrequiredstringThe stable Organization-scoped Integration identifier.- maximum length
64 - pattern
^integration_[\s\S]+$
- maximum length
dataIntegrationApplicationIdrequiredstringThe Organization-owned data Integration Application identifier.- maximum length
64 - pattern
^data_integration_app_[\s\S]+$
- maximum length
externalAccountIdrequiredstringThe provider-stable account or authority identifier.- maximum length
512 - minimum length
1 - pattern
^[!-~]+$
- maximum length
displayNamerequiredstringThe human-readable resource name.credentialGenerationrequiredintegerThe current credential generation, incremented on rotation.- greater than
0
- greater than
credentialExpiresAtrequired- When the installed provider credential expires, in UTC, or null when it does not expire.
- format
date-time
Any ofstringnull - format
credentialExposurerequired- IntegrationCredentialExposureWhether the credential remains host-only or may enter the exact scoped Sandbox.
statusrequired- DataIntegrationStatusThe current lifecycle status.
sandboxAttestationrequired- NullableStaticCredentialSandboxAttestationThe operator's versioned provider-authority evidence, or null for host-only credentials.
sandboxAttestedByPrincipalIdrequired- The Principal that attested Sandbox exposure, or null for host-only credentials.Any of
stringA Cantora Principal identifier, prefixed with `principal_`.- maximum length
64 - pattern
^principal_[\s\S]+$
null - maximum length
sandboxAttestedAtrequired- When the Sandbox exposure evidence was attested, in UTC, or null for host-only credentials.
- format
date-time
Any ofstringnull - format
etagrequiredstringThe strong ETag required for the next conditional mutation.- maximum length
12 - pattern
^"(?:[1-9][0-9]{0,9})"$
- maximum length
createdAtrequiredstringWhen the resource was created, in UTC.- format
date-time
- format
updatedAtrequiredstringWhen the resource was last updated, in UTC.- format
date-time
- format
UnauthorizedEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Unauthorized"
- allowed values
reasonrequiredstringA safe explanation of why the credential was rejected.
ForbiddenEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Forbidden"
- allowed values
permissionrequiredstringThe permission required by the refused operation.
NotFoundEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"NotFound"
- allowed values
resourcerequiredstringThe resource type relevant to the error.idrequiredstringThe identifier supplied for the resource that was not found.
ConflictEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"Conflict"
- allowed values
resourcerequiredstringThe resource type relevant to the error.reasonrequiredstringA safe explanation of the state conflict.
SandboxCredentialRotationConflictEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"SandboxCredentialRotationConflict"
- allowed values
resourcerequiredstringThe resource type relevant to the error.- allowed values
"dataIntegrationConnection"
- allowed values
requiredActionrequiredstringThe stable machine-readable action required before retrying the operation.- allowed values
"disableAndCreateNewConnection"
- allowed values
DataIntegrationPreconditionFailedEncoded
object- unknown properties allowed
false
_tagrequiredstringThe stable machine-readable error type.- allowed values
"DataIntegrationPreconditionFailed"
- allowed values
resourcerequiredstringThe resource type relevant to the error.- allowed values
"integration", "dataIntegrationApplication", "integrationEnvironmentBinding", "dataIntegrationConnection", "knowledgeBase"
- allowed values
currentEtagrequiredstringThe current strong ETag required for the next conditional activation.- maximum length
12 - pattern
^"(?:[1-9][0-9]{0,9})"$
- maximum length
IntegrationCredentialExposure
string- allowed values
"hostOnly", "sandbox"
DataIntegrationStatus
string- allowed values
"active", "disabled"
NullableStaticCredentialSandboxAttestation
Any of
nullStaticCredentialSandboxAttestation
object- unknown properties allowed
false
statementrequiredstringThe closed assertion made by this Sandbox credential attestation.- allowed values
"providerAuthorityConfinedToConnectionScope"
- allowed values
versionrequiredstringThe immutable Agent Version returned by the publication.- allowed values
"cantora.ai/static-credential-sandbox-authority/v1"
- allowed values
evidenceReferencerequiredstringA non-secret reference to the reviewed provider-authority evidence.