Attach a Domain to an Application

The Attach a Domain to an Application method is used to attach a Domain to an Application Instance.

 POST /api/vendor/v1/applications/{id}/domains/{domain_id}.json?api_token={api_token}

Arguments

Name

Parameter Type

Data type

Required/ 
Optional

Description

id

integer

path

Required

An ID of the application instance.

domain_idintegerpathRequiredA domain ID.
api_tokenquerystringRequiredAPI token of the manager who perform the operation (see API Token Authentication).


Request example

POST http://billing.activeplatform.com:80/api/vendor/v1/applications/2000148/domains/1918.json?api_token=654321

Response example

{
 "result": "success" 
}