PUT
/api
curl \
--request PUT 'http://localhost:8787/api' \
--header "Authorization with Header: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"shortcode":"string","redirect":"string"}'
Request examples
{
"shortcode": "string",
"redirect": "string"
}
Response examples (200)
{
"status": "string",
"shortcode": "string",
"redirect": "string"
}
Response examples (403)
{
"status": "shortcode_blocked"
}
Response examples (404)
{
"message": "string"
}