Project

Store or rotate a provider credential (write-only). Allo: api_key, webhook_secret?; Attio: api_key.

PUT
/v1/project/providers/{provider}

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Path Parameters

provider*string
Value in"allo""attio""mock"

Request Body

application/json
  1. body
[key: string]?string

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*

A provider credential as the API shows it: status and key id, never the secret.

meta*
curl -X PUT 'http://localhost:8080/v1/project/providers/allo' \  -H 'Content-Type: application/json' \  -d '{  "property1": "string",  "property2": "string"}'
{  "success": true,  "data": {    "id": "string",    "tenantId": "string",    "provider": "string",    "method": "api_key",    "status": "active",    "keyId": "string",    "last4": "string",    "config": {      "property1": null,      "property2": null    },    "hasWebhookSecret": true,    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  },  "meta": {    "request_id": "string"  }}