Add a subuser to your API acount
If you would like to create a subuser for your API account, please send the request below to our API server.
Once the account has been attached, you can execute actions for this account by specifing the identifier of the subuser as postdata field in your request. If you do not specify a subuser identifier, the action will be executed for the EuroDNS account that has initially been attached to the API account.
<?xml version="1.0" encoding="UTF-8"?> <request xmlns:subuser="http://www.eurodns.com/subuser"> <subuser:add> <subuser:login>#EURODNS LOGIN#</subuser:login> <subuser:password>#EURODNS PASSWORD#</subuser:password> </subuser:add> </request>
<subuser:add> (Occurrences: 1)
|R||#EURODNS LOGIN#||The EuroDNS account login of the subuser to add|
|R||#EURODNS PASSWORD#||The EuroDNS account password of the subuser to add|
If the action was successful, the following code will be returned:
<?xml version="1.0" encoding="UTF-8"?> <response xmlns:subuser="http://www.eurodns.com/subuser"> <result code="1000"> <msg>Command completed successfully</msg> </result> <resData> <subuser:id>#SUBUSER ID#</subuser:id> </resData> </response>
<resData> (Occurrences: 1)
|R||#SUBUSER ID#||The identifer of the subuser that has been added|
|O||The element is optional and does not have to be specified in the request and/or answer|
|R||The element is mandatory and has to specifed in the request and/or answer|