Skip to main content
POST
Update Credential

Description

Sets or removes the expiry date of a credential.
Every call sets the expiry. If you leave out expiry, or send null, the credential’s expiry is removed and it never expires.

Headers

string
required
Your API key: Bearer YOUR_API_KEY. Create a key in the Studio under Settings → Developers.

Path Parameters

string
required
ID of the credential.

Body Parameters

number | null
The new expiry date, as a Unix timestamp in seconds (UTC). For example, 1893456000 is 1 January 2030, 00:00 UTC. Send null or leave it out to remove the expiry.

Responses

A 200 status with "success": true means the change is saved.
Last modified on October 20, 2026