cURL
curl --request PUT \ --url https://api.letpiper.com/v1/orgs/{org_id}/credentials/{key} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "key": "<string>", "last_used_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
Update an existing credential’s value.
The key cannot be changed - delete and recreate if a different key is needed.
Platform token (starts with pat_)
Schema for updating a credential's value.
The new secret value (will be encrypted)
1
Successful Response
Schema for credential response (never includes the value).