Customer methods.
| Service. | Customer methods. |
| Functions | |
| CP_Wizard | Control Panel wizard |
| requestCancellation | Create a cancellation request for a customer |
| createKey | Create an API Key for the customer |
| revokeKey | Revoke an API Key for the customer |
| getKeys | List all customer Keys |
| createKeyACL | Associate an ACL with the key |
| updateKeyACL | Update a field on the ACL |
| deleteKeyACL | Delete a key ACL |
| listRoles | List all customer roles |
| getUsername | Get Customer Username |
| changePassword | Change the customer password |
| changePIN | Change the customer PIN |
| changeEmail | Change the customer email address |
| setSettings | Set a list of settings on the Customer |
| getSettings | Get all the settings associated with the Customer |
| addIpAddress | Add address to the Customer |
| getIpAddresses | Get Addresses associated with Customer |
| getDetailedIpAddresses | Get address details for a Customer |
| freeIpAddress | Free an Address from the customer |
| createFTPUser | Create a Customer-controlled FTP user |
| listFTPUsers | List FTP users |
| updateFTPUser | Update an FTP user |
| destroyFTPUser | Delete an FTP user |
| currentBillableBandwidth | Fetch the latest billable bandwidth amount |
| listNotices | Fetch all the notices associated with the customer (or global) |
| acknowledgeNotice | Set the acknowledged flag of a customer notice |
| createContact | Create a contact |
| destroyContact | Delete a contact |
| createContactMethod | Associate a contact method with a contact |
| destroyContactMethod | Delete a contact method |
| createContactMethodNotice | Associate a notice type with a contact method |
| destroyContactMethodNotice | Delete a contact method notice association |
| listContactNoticeTypes | List contact notice types |
| listContactMethods | List contact methods |
| listContacts | List contacts and related objects |
Control Panel wizard
| customerId | no docs (idx: 1, type: Types.CustomerId) |
| siteName | no docs (idx: 2, type: Types.SiteName) |
| siteHostname | no docs (idx: 3, type: Types.Hostname) |
| containerName | no docs (idx: 4, type: Types.ContainerName) |
| containerType | no docs (idx: 8, type: Types.ContainerTypeId) |
| containerOSId | no docs (idx: 10, type: Types.OSId) |
| containerDiskSpace | no docs (idx: 11, type: Types.ContainerDiskSpace) |
| containerSize | no docs (idx: 12, type: Types.ContainerSize) |
| environmentNames | no docs (idx: 6, type: Thrift.list (Types.EnvironmentName)) |
| aliasNames | no docs (idx: 7, type: Thrift.list (Types.SiteAlias), optional) |
| createDNS | no docs (idx: 9, type: Thrift.bool, optional) |
Exceptions.InvalidArguments (idx: 1)
Create a cancellation request for a customer
| id | no docs (idx: 1, type: Types.CustomerId) |
| reason | no docs (idx: 2, type: Thrift.string) |
Exceptions.InvalidArguments (idx: 1)
Create an API Key for the customer
| id | no docs (idx: 1, type: Types.CustomerId) |
| type | no docs (idx: 2, type: Types.APIKeyType, role: internal, optional) |
Exceptions.InvalidArguments (idx: 1)
Revoke an API Key for the customer
| id | no docs (idx: 1, type: Types.APIKeyId) |
Exceptions.InvalidArguments (idx: 1)
List all customer Keys
| id | no docs (idx: 1, type: Types.CustomerId) |
| type | no docs (idx: 2, type: Types.APIKeyType, optional) |
Exceptions.InvalidArguments (idx: 1)
Associate an ACL with the key
| id | no docs (idx: 1, type: Types.APIKeyId) |
| address | no docs (idx: 2, type: Types.IPAddress) |
| cidr | no docs (idx: 3, type: Types.CIDRMask) |
Exceptions.InvalidArguments (idx: 1)
Update a field on the ACL
| id | no docs (idx: 1, type: Types.APIKeyACLId) |
| address | no docs (idx: 2, type: Types.IPAddress, optional) |
| cidr | no docs (idx: 3, type: Types.CIDRMask, optional) |
Exceptions.InvalidArguments (idx: 1)
Delete a key ACL
| id | no docs (idx: 1, type: Types.APIKeyACLId) |
Exceptions.InvalidArguments (idx: 1)
List all customer roles
| id | no docs (idx: 1, type: Types.CustomerId) |
Exceptions.InvalidArguments (idx: 1)
Get Customer Username
| id | no docs (idx: 1, type: Types.CustomerId) |
Exceptions.InvalidArguments (idx: 1)
Change the customer password
| id | no docs (idx: 1, type: Types.CustomerId) |
| password | no docs (idx: 2, type: Thrift.string) |
Exceptions.InvalidArguments (idx: 1)
Change the customer PIN
| id | no docs (idx: 1, type: Types.CustomerId) |
| pin | no docs (idx: 2, type: Thrift.string) |
Exceptions.InvalidArguments (idx: 1)
Change the customer email address
| id | no docs (idx: 1, type: Types.CustomerId) |
| no docs (idx: 2, type: Types.EmailAddress) |
Exceptions.InvalidArguments (idx: 1)
Set a list of settings on the Customer
| id | the ID of the Customer (idx: 1, type: Types.CustomerId) |
| settings | a list of the settings (idx: 2, type: Types.SettingList) |
Exceptions.InvalidArguments (idx: 1)
Get all the settings associated with the Customer
| id | the ID of the Customer (idx: 1, type: Types.CustomerId) |
Exceptions.InvalidArguments (idx: 1)
Add address to the Customer
| id | no docs (idx: 1, type: Types.CustomerId) |
| address | no docs (idx: 2, type: Types.IPAddress, role: internal, optional) |
Exceptions.InvalidArguments (idx: 1)
Get Addresses associated with Customer
| id | no docs (idx: 1, type: Types.CustomerId) |
Exceptions.InvalidArguments (idx: 1)
Get address details for a Customer
| id | no docs (idx: 1, type: Types.CustomerId) |
Thrift.list (Types.IPAddressDetails)
Exceptions.InvalidArguments (idx: 1)
Free an Address from the customer
| id | no docs (idx: 1, type: Types.CustomerId) |
| address | no docs (idx: 2, type: Types.IPAddress) |
Exceptions.InvalidArguments (idx: 1)
Create a Customer-controlled FTP user
| customerId | no docs (idx: 1, type: Types.CustomerId) |
| name | no docs (idx: 2, type: Types.CustomerName) |
| username | no docs (idx: 3, type: Types.CustomerUsername) |
| password | no docs (idx: 4, type: Thrift.string) |
| relativeRoot | no docs (idx: 5, type: Thrift.string, utf8) |
| type | no docs (idx: 6, type: Types.FTPUserType) |
| siteId | no docs (idx: 7, type: Types.SiteId, optional) |
| environmentId | no docs (idx: 8, type: Types.EnvironmentId, optional) |
Exceptions.InvalidArguments (idx: 1)
List FTP users
| id | no docs (idx: 1, type: Types.CustomerId) |
| siteId | no docs (idx: 7, type: Types.SiteId, optional) |
| environmentId | no docs (idx: 8, type: Types.EnvironmentId, optional) |
Exceptions.InvalidArguments (idx: 1)
Update an FTP user
| id | no docs (idx: 1, type: Types.FTPUserId) |
| name | no docs (idx: 2, type: Types.CustomerName, optional) |
| username | no docs (idx: 3, type: Types.CustomerUsername, optional) |
| password | no docs (idx: 4, type: Thrift.string, optional) |
| relativeRoot | no docs (idx: 5, type: Thrift.string, optional, utf8) |
| type | no docs (idx: 6, type: Types.FTPUserType, optional) |
| siteId | no docs (idx: 7, type: Types.SiteId, optional) |
| environmentId | no docs (idx: 8, type: Types.EnvironmentId, optional) |
Exceptions.InvalidArguments (idx: 1)
Delete an FTP user
| id | no docs (idx: 1, type: Types.FTPUserId) |
Exceptions.InvalidArguments (idx: 1)
Fetch the latest billable bandwidth amount
| customerId | no docs (idx: 1, type: Types.CustomerId) |
Exceptions.InvalidArguments (idx: 1)
Fetch all the notices associated with the customer (or global)
| customerId | no docs (idx: 1, type: Types.CustomerId) |
| since | Ignore notices that were created or updated before this time (idx: 2, type: Types.UnixTime, optional) |
Thrift.list (Types.CustomerNotice)
Exceptions.InvalidArguments (idx: 1)
Set the acknowledged flag of a customer notice
| noticeId | no docs (idx: 1, type: Types.CustomerNoticeId) |
Exceptions.InvalidArguments (idx: 1)
Create a contact
| customerId | no docs (idx: 1, type: Types.CustomerId) |
| name | no docs (idx: 2, type: Thrift.string) |
Exceptions.InvalidArguments (idx: 1)
Delete a contact
| contactId | no docs (idx: 1, type: Types.CustomerContactId) |
Exceptions.InvalidArguments (idx: 1)
Associate a contact method with a contact
| contactId | no docs (idx: 1, type: Types.CustomerContactId) |
| methodId | no docs (idx: 2, type: Types.ContactMethodId) |
| options | no docs (idx: 3, type: Thrift.map (Thrift.string => Thrift.string), optional) |
Exceptions.InvalidArguments (idx: 1)
Delete a contact method
| contactMethodId | no docs (idx: 1, type: Types.CustomerContactMethodId) |
Exceptions.InvalidArguments (idx: 1)
Associate a notice type with a contact method
| contactMethodId | no docs (idx: 1, type: Types.CustomerContactMethodId) |
| noticeTypeId | no docs (idx: 2, type: Types.ContactNoticeTypeId) |
| options | no docs (idx: 3, type: Thrift.map (Thrift.string => Thrift.string), optional) |
Types.CustomerContactMethodNoticeId
Exceptions.InvalidArguments (idx: 1)
Delete a contact method notice association
| contactMethodNoticeId | no docs (idx: 1, type: Types.CustomerContactMethodNoticeId) |
Exceptions.InvalidArguments (idx: 1)
List contact notice types
Thrift.list (Types.ContactNoticeType)
Exceptions.InvalidArguments (idx: 1)
List contact methods
Thrift.list (Types.ContactMethod)
Exceptions.InvalidArguments (idx: 1)
List contacts and related objects
| customerId | no docs (idx: 1, type: Types.CustomerId) |
Exceptions.InvalidArguments (idx: 1)