Edit Partner
This is used by MSP to update their reseller partners. Partner update 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
OK
- 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-22T17:49:29",
"name": "Partner 1-1",
"externalId": "msp1-partner-1-1",
"website": "partner1-1.com",
"status": "upadting",
"contacts": [
{
"email": "admin1@partner1-1.com",
"firstName": "Admin",
"lastName": "User",
"address": {
"addressLine1": "22 Rd",
"city": "Santa Clara",
"state": "California",
"country": "United States",
"postalCode": "94054"
},
"type": "primary"
}
],
"workloadAccess": false
}
}
PATCH /api/v1/partner/partners
Authorization
Request
Request
curl -L -X PATCH '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 PATCH '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 PATCH '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 PATCH '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 PATCH '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 PATCH '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 PATCH '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
}'