DevelopersAPI reference
Remove a path alias
Removes one of the code's path aliases: the old path stops opening the code, and another code on the domain can take it.
The response is { "data": { "id", "deleted": true } }. An alias the code doesn't have is a 404.
Scope: codes:write, for API keys and OAuth tokens alike.
AuthorizationBearer <qrdx_ followed by 40 letters and digits>An API key, sent as Authorization: Bearer qrdx_…. Create one in Settings → API keys & apps: it is shown once. A key acts on the workspace it was created in as its creator, with their current role there, and only within its scopes, the same scopes as OAuth (each operation names the one it needs). API keys.
id*stringThe code's id
1 <= length <= 64aliasId*stringThe path alias's id
1 <= length <= 64Removed
application/json- response
data*curl -X DELETE 'https://api.qrdx.dev/v1/codes/cm5code0spring0menu00001/aliases/cm5alias0old0flyer0link01'{ "data": { "id": "cm5alias0old0flyer0link01", "deleted": true }}Was this page helpful?
Last updated on