Replace plan metadata
Plans
Replace plan metadata
This endpoint replaces all existing metadata on a plan with the provided key-value pairs. Any existing metadata keys not included in the request will be removed.
POST
Replace plan metadata
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The code of the plan.
Example:
"startup"
Body
application/json
Custom metadata stored as key-value pairs. Keys are strings (max 100 characters), values can be strings (max 255 characters) or null.
Example:
{
"external_id": "ext-123",
"synced_at": "2024-01-15",
"source": null
}Response
Plan metadata replaced
Custom metadata stored as key-value pairs. Keys are strings (max 100 characters), values can be strings (max 255 characters) or null.
Example:
{
"external_id": "ext-123",
"synced_at": "2024-01-15",
"source": null
}