Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.iran.liara.ir/v1/domains/{id}/set-redirect \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "redirectStatus": 123, "redirectTo": "<string>" } '
This response has no body data.
redirect a domain that user owns
Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #
Bearer:
The id of your domain
The domain of your app
302 or 301