This procedure outlines how to move an unassigned MSP customer account to an MSP partner. This procedure assumes that the customer has already been created. (It is also possible to move a customer from one partner to another partner using a similar procedure.)
Note
The attributes in this topic are a representative sample of what is a available. For a complete list of attributes, elements, and resources, see the main documentation of the REST API. The documentation resides in a user interface that is accessed using this URL: http://api.extremenetworks.com/extremecloud/rest_api/index.htmlTo move an unassigned MSP customer to a partner:
GET HTTP://ipAddress/v1/msptenants/nametoidmap
GET HTTP://ipAddress/v1/msppartners
PUT HTTP://ipAddress/v1/msppartners/{tenantId}
When you POST or PUT data to the REST API, at minimum set the Content-Type header to application/json. However, you should generally specify two headers when you post the log in request.
content-type: application/json ;charset=UTF-8
accept: application/json, text/plain, */*
Attribute | Data Type | Description |
---|---|---|
tenantId | Path | A non-empty, valid MSP tenant (customer) ID. |
accountName | String | The user-defined account name of the MSP tenant. Validation: Not null and the length must range from 1 to 64. |
entitlements | Array of MSPDeviceEntitlementElement | A list of device entitlements. |
entitlementId | String | The unique identifier of the entitlement being applied. Valid character set: Alphanumeric and special characters, except semi-colon, colon, and ampersand. |
serialNumber | String | The unique identifier of the instance of hardware to which this entitlement applies. Valid character set: Alphanumeric and special characters, except semi-colon, colon, and ampersand. |
country | Country | The country of MSP tenant. Validation: Valid country codes. |
mspContact | MSPContactElement | The contact details of the MSP. Validations: None |
contactEmail | String | The email address of the MSP for business notifications and for service alerts. Validation: A valid email address. |
contactName | String | The contact person for the MSP. Validation: It must be within the range of 1 - 128 characters. Allows alphanumeric and special characters, except semi-colon, colon, and ampersand. |
contactPhoneNumber | String | The phone number of the MSP for business notifications and for service alerts. Validation: None |
timeZone | String | The timezone of the MSP tenant location. Validation: A valid timezone. |
tenants | Array of strings | The list of tenants being assigned to the MSP partner. The tenants must belong to the MSP before they can be assigned to the partner of an MSP. The list of tenants submitted in the response will become the exact list of tenants managed by the MSP partner. |
userId | String | The first power administrator user ID, it must be an email address and must be unique across all of ExtremeCloud. Validations: The user ID must be a not null and non-empty string (email ID) between 1 and 128 characters long. The string will have 63 characters for the local part (the account/name) and 64 for the domain, the @ sign will be counted extra so that sums to 128. Example: {63}@{64}. Valid character set: Alphanumeric and special characters, except semi-colon, colon, and ampersand. |
{ "custId":"MspPartner-tenantid-YLp4lKdq8n6nQNXf", "id":null, "accountName":"msp-partner-01", "mspContact":{"custId":null,"id":null,"contactEmail":"msp-partner-01@test.com","contactName":"msp-partner-01","contactPhoneNumber":"22222222"}, "userId":null, "tenants":["MspEndCustomer-tenantid-TaLDGFSpg7Vgxt7H"], "entitlements":[] }
{ "custId" : "Msp-tenantid-Nc5YXfsVtOKdMmsj", "id" : null, "accountName" : "msp-partner-01", "mspContact" : { "custId" : null, "id" : null, "contactEmail" : "msp-partner-01@test.com", "contactName" : "msp-partner-01", "contactPhoneNumber" : "22222222" }, "userId" : null, "tenants" : [ "MspEndCustomer-tenantid-TaLDGFSpg7Vgxt7H" ], "entitlements" : [ ] }