# Enabled/Disabled
Enable or disable application domain. you can't disable the primary domain of the application if you don't add another domain on that application.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/application-domains/{application_domain}/edit
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/applications/{application}/application-domains/{application_domain}/edit" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Enabled Domain
- 200 (Ok)
{
"message": "Temporary domain successfully run to rock!"
}
# Disabled Domain
- 200 (Ok)
{
"message": "Temporary domain successfully disabled!"
}
# Application Domain Not found
- 404 (Not Found)
{
"message": "Application domain not found!"
}
# Organization Not Found
- 404 (Not Found)
{
"message": "Organization not found!"
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Domain Not Match
- 500 (Internal Server Error)
{
"message": "Temporary domain does not match!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong!"
}