Create partner
Select
SaaS
This is used by MSP to introduce their reseller partners. MSP will provide basic info of their reseller partners. MSP can enable reseller partner's access to command center to manage account workload if needed. Partner provisioning is asynchronous.
- application/json
Request Body
- name string required
Partner Name
- externalId string required
Partner ID in MSP system
- website string
Partner website
contacts object[] required
- workloadAccess boolean required
Access to manage accounts
Responses
- 200
- 201
OK
Created
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
data object
{
"data": {
"id": "string",
"insertTs": "string",
"updateTs": "string",
"name": "string",
"externalId": "string",
"website": "string",
"status": "string",
"contacts": [
{
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
},
"type": "string"
}
],
"workloadAccess": true
}
}
{
"data": {
"id": "2dde73c6-10c7-4299-924b-c81c60e33e14",
"insertTs": "2022-06-21T17:49:29",
"updateTs": "2022-06-21T17:49:29",
"name": "Partner 1",
"externalId": "msp1-partner-1",
"website": "partner1.com",
"status": "provisioning",
"contacts": [
{
"email": "admin@partner1.com",
"firstName": "Admin",
"lastName": "User",
"address": {
"addressLine1": "1 Rd",
"city": "Santa Clara",
"state": "California",
"country": "United States",
"postalCode": "94051"
},
"type": "primary"
}
],
"workloadAccess": false
}
}
POST /api/v1/partner/partners
Authorization
Request
Request
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'
curl -L -X POST 'https://api.metallic.io/api/v1/partner/partners' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"externalId": "string",
"website": "string",
"contacts": [
{
"type": "primary",
"email": "string",
"firstName": "string",
"lastName": "string",
"address": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"state": "string",
"country": "string",
"postalCode": "string"
}
}
],
"workloadAccess": true
}'