Delegation code endpoints
ActivateDelegationCode
ActivateDelegationCode(System.String,System.String)
Activates a delegation code that has been used by another account and is waiting for approval.
Parameters
Param: code: The code to activate
Param: organization: Account
Returns
- True if activated
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET sample
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST sample
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
CreateDelegationCode
CreateDelegationCode(System.String,System.String)
Creates a new delegation code for external management of another account.
Parameters
Param: accountGroup: Account group to add the code in.
Param: organization: Account
Returns
- The delegation code
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET sample
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST sample
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
GetDelegationCodes
Get a list of delegation codes in the account.
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response: :::text HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
RemoveDelegationCode
RemoveDelegationCode(System.String,System.String)
Removes a delegation code and all associated rights from the account.
Parameters
Param: code: Code to remove
Param: organization: Account
Returns
- True if removed
SOAP 1.1 sample
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
SOAP 1.2 sample
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP GET sample
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
Request:
Response:
HTTP POST sample
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
Request:
Response: