Update a Domain
Update a Domain.
Please note: Offensive domain names will be replaced with ****
PUT https://{region}.getafile.io/api/v1/teams/:team_id/domain/:id
This endpoint allows you to update a Domain.
Path Parameters
Name
Type
Description
id
integer
ID of the Domain.
Request Body
Name
Type
Description
domain*
string
The Domain you wish to use: eg test.getafile.online
name*
string
Reference name for the Domain
google_analytics_id_consent*
number
Specify if this is your own domain, or a subdomain of getafile.online 1 = Yes 0 = No
google_analytics_id
string
The google analytics ID tied to the domain (required if google_analytics_id_consent = 0)
google_analytics_id_secret
string
The google analytics secret tied to the domain (required if google_analytics_id_consent = 0)
{
"active": 1,
"name": "Testing",
"domain": "testing",
"google_analytics_id_consent": 0,
"google_analytics_id": null,
"google_analytics_id_secret": null
}{ "message": "Ain't no domain like that."}Example Request
Last updated
Was this helpful?