Delete a short link (republishes edge config)
DELETE
/api/v1/domains/{domain_id}/short_links/{id}
const url = 'https://app.routeseam.com/api/v1/domains/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/short_links/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE', headers: {'X-Api-Key': '<X-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://app.routeseam.com/api/v1/domains/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/short_links/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'X-Api-Key: <X-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”domain_id
required
string format: uuid
id
required
string format: uuid
Responses
Section titled “Responses”No content
Missing or invalid API key
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Example
{ "error": "Invalid API key", "errors": [], "validation_errors": {}}API access has not been enabled; org suspended; or owner email unverified
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Examplegenerated
{ "error": "example", "errors": [ "example" ], "validation_errors": { "additionalProperty": [ "example" ] }}Not found (cross-tenant ids are indistinguishable from missing ones)
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Example
{ "error": "Not found", "errors": [], "validation_errors": {}}Over 300 requests/minute for this key
Media typeapplication/json
The ONLY error envelope — produced by Api::V1::BaseController#render_error_response
object
error
required
string
errors
Array<string>
validation_errors
object
key
additional properties
Array<string>
Example
{ "error": "Rate limit exceeded", "errors": [], "validation_errors": {}}