Skip to main content
PUT

Request

string
required
Your project API key: b2co_your_api_key
string
required
The unique short code of the link to update
string
required
New status for the link. Must be either ACTIVE or PAUSED

Response

boolean
Indicates if the request was successful
object
The updated link information
string
Success message describing the action performed
string
Unique identifier of the link
string
Unique short code of the link
string
Updated status of the link (ACTIVE or PAUSED)
string
ISO 8601 timestamp when the link was last updated

Error Codes

string
Invalid status parameter provided
Link with the specified code does not exist or belongs to another project
string
API key is missing or invalid
string
Too many requests, please try again later
string
Link is already in the requested status or operation is not allowed (e.g., activating expired link)