Enable Licensee

Enable the previously disabled licensee object.

post

/v1/accounts/licensees/{id}/enable

Path parameters
idstringrequired
Responses
curl -L \
  --request POST \
  --url '/v1/accounts/licensees/{id}/enable'
{
  "id": "text",
  "audit": {
    "created": {
      "at": "2025-02-21T17:59:53.424Z",
      "by": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": "[Circular Reference]"
          },
          "updated": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": "[Circular Reference]"
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "icon": "text"
      }
    },
    "updated": {
      "at": "2025-02-21T17:59:53.424Z",
      "by": "[Circular Reference]"
    }
  },
  "$meta": {
    "omitted": [
      "text"
    ]
  },
  "href": "text",
  "contact": {
    "name": "text",
    "firstName": "text",
    "lastName": "text",
    "email": "hello@example.com",
    "phone": {
      "prefix": "text",
      "number": "text"
    },
    "user": {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-02-21T17:59:53.424Z",
          "by": {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              },
              "updated": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-02-21T17:59:53.424Z",
          "by": {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              },
              "updated": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "invitationAcceptedAt": "2025-02-21T17:59:53.424Z"
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "href": "text",
      "email": "text",
      "status": "text",
      "phone": {
        "prefix": "text",
        "number": "text"
      },
      "firstName": "text",
      "lastName": "text",
      "icon": "text",
      "lastLoginAt": "2025-02-21T17:59:53.424Z",
      "settings": {
        "cultureCode": "text",
        "languageCode": "text"
      },
      "name": "text",
      "currentAccount": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                },
                "updated": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                }
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": "[Circular Reference]"
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "externalIds": {
          "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
        },
        "externalId": "text",
        "externalName": "text",
        "type": "Client",
        "status": "Active",
        "serviceLevel": "Express",
        "address": {
          "addressLine1": "text",
          "addressLine2": "text",
          "postCode": "text",
          "city": "text",
          "state": "text",
          "country": "text"
        },
        "icon": "text",
        "technicalSupportEmail": "hello@example.com",
        "website": "text",
        "description": "text",
        "name": "text",
        "groups": [
          {
            "id": "text",
            "audit": "[Circular Reference]",
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "description": "text",
            "account": "[Circular Reference]",
            "logo": "text",
            "isDefault": true,
            "modules": "[Circular Reference]",
            "users": "[Circular Reference]",
            "buyers": "[Circular Reference]"
          }
        ]
      },
      "accounts": [
        {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": {
                "id": "text",
                "audit": {
                  "created": {
                    "at": "2025-02-21T17:59:53.424Z",
                    "by": "[Circular Reference]"
                  },
                  "updated": {
                    "at": "2025-02-21T17:59:53.424Z",
                    "by": "[Circular Reference]"
                  }
                },
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "externalIds": {
            "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
          },
          "externalId": "text",
          "externalName": "text",
          "type": "Client",
          "status": "Active",
          "serviceLevel": "Express",
          "address": {
            "addressLine1": "text",
            "addressLine2": "text",
            "postCode": "text",
            "city": "text",
            "state": "text",
            "country": "text"
          },
          "icon": "text",
          "technicalSupportEmail": "hello@example.com",
          "website": "text",
          "description": "text",
          "name": "text",
          "groups": [
            {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "description": "text",
              "account": "[Circular Reference]",
              "logo": "text",
              "isDefault": true,
              "modules": "[Circular Reference]",
              "users": "[Circular Reference]",
              "buyers": "[Circular Reference]"
            }
          ]
        }
      ]
    },
    "type": "text"
  },
  "name": "text",
  "externalId": "text",
  "status": "Active",
  "address": {
    "addressLine1": "text",
    "addressLine2": "text",
    "postCode": "text",
    "city": "text",
    "state": "text",
    "country": "text"
  },
  "useBuyerAddress": true,
  "icon": "text",
  "description": "text",
  "account": {
    "id": "text",
    "audit": {
      "created": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "updated": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": "[Circular Reference]"
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "href": "text",
    "externalIds": {
      "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
    },
    "externalId": "text",
    "externalName": "text",
    "type": "Client",
    "status": "Active",
    "serviceLevel": "Express",
    "address": {
      "addressLine1": "text",
      "addressLine2": "text",
      "postCode": "text",
      "city": "text",
      "state": "text",
      "country": "text"
    },
    "icon": "text",
    "technicalSupportEmail": "hello@example.com",
    "website": "text",
    "description": "text",
    "name": "text",
    "groups": [
      {
        "id": "text",
        "audit": "[Circular Reference]",
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "name": "text",
        "description": "text",
        "account": "[Circular Reference]",
        "logo": "text",
        "isDefault": true,
        "modules": "[Circular Reference]",
        "users": "[Circular Reference]",
        "buyers": "[Circular Reference]"
      }
    ]
  },
  "buyer": {
    "id": "text",
    "audit": {
      "created": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "updated": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "activated": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "unassigned": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "href": "text",
    "contact": {
      "name": "text",
      "firstName": "text",
      "lastName": "text",
      "email": "hello@example.com",
      "phone": {
        "prefix": "text",
        "number": "text"
      },
      "user": {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                },
                "updated": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                }
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                },
                "updated": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                }
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "invitationAcceptedAt": "2025-02-21T17:59:53.424Z"
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "email": "text",
        "status": "text",
        "phone": {
          "prefix": "text",
          "number": "text"
        },
        "firstName": "text",
        "lastName": "text",
        "icon": "text",
        "lastLoginAt": "2025-02-21T17:59:53.424Z",
        "settings": {
          "cultureCode": "text",
          "languageCode": "text"
        },
        "name": "text",
        "currentAccount": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": {
                "id": "text",
                "audit": {
                  "created": {
                    "at": "2025-02-21T17:59:53.424Z",
                    "by": "[Circular Reference]"
                  },
                  "updated": {
                    "at": "2025-02-21T17:59:53.424Z",
                    "by": "[Circular Reference]"
                  }
                },
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "icon": "text"
              }
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "externalIds": {
            "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
          },
          "externalId": "text",
          "externalName": "text",
          "type": "Client",
          "status": "Active",
          "serviceLevel": "Express",
          "address": {
            "addressLine1": "text",
            "addressLine2": "text",
            "postCode": "text",
            "city": "text",
            "state": "text",
            "country": "text"
          },
          "icon": "text",
          "technicalSupportEmail": "hello@example.com",
          "website": "text",
          "description": "text",
          "name": "text",
          "groups": [
            {
              "id": "text",
              "audit": "[Circular Reference]",
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "description": "text",
              "account": "[Circular Reference]",
              "logo": "text",
              "isDefault": true,
              "modules": "[Circular Reference]",
              "users": "[Circular Reference]",
              "buyers": "[Circular Reference]"
            }
          ]
        },
        "accounts": [
          {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": {
                  "id": "text",
                  "audit": {
                    "created": {
                      "at": "2025-02-21T17:59:53.424Z",
                      "by": "[Circular Reference]"
                    },
                    "updated": {
                      "at": "2025-02-21T17:59:53.424Z",
                      "by": "[Circular Reference]"
                    }
                  },
                  "$meta": {
                    "omitted": [
                      "text"
                    ]
                  },
                  "href": "text",
                  "name": "text",
                  "icon": "text"
                }
              },
              "updated": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "externalIds": {
              "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
            },
            "externalId": "text",
            "externalName": "text",
            "type": "Client",
            "status": "Active",
            "serviceLevel": "Express",
            "address": {
              "addressLine1": "text",
              "addressLine2": "text",
              "postCode": "text",
              "city": "text",
              "state": "text",
              "country": "text"
            },
            "icon": "text",
            "technicalSupportEmail": "hello@example.com",
            "website": "text",
            "description": "text",
            "name": "text",
            "groups": [
              {
                "id": "text",
                "audit": "[Circular Reference]",
                "$meta": {
                  "omitted": [
                    "text"
                  ]
                },
                "href": "text",
                "name": "text",
                "description": "text",
                "account": "[Circular Reference]",
                "logo": "text",
                "isDefault": true,
                "modules": "[Circular Reference]",
                "users": "[Circular Reference]",
                "buyers": "[Circular Reference]"
              }
            ]
          }
        ]
      },
      "type": "text"
    },
    "externalIds": {
      "erpCompanyContact": "text",
      "erpCustomer": "text",
      "accountExternalId": "text"
    },
    "status": "Active",
    "icon": "text",
    "address": {
      "addressLine1": "text",
      "addressLine2": "text",
      "postCode": "text",
      "city": "text",
      "state": "text",
      "country": "text"
    },
    "taxId": "text",
    "account": {
      "id": "text",
      "audit": {
        "created": {
          "at": "2025-02-21T17:59:53.424Z",
          "by": {
            "id": "text",
            "audit": {
              "created": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              },
              "updated": {
                "at": "2025-02-21T17:59:53.424Z",
                "by": "[Circular Reference]"
              }
            },
            "$meta": {
              "omitted": [
                "text"
              ]
            },
            "href": "text",
            "name": "text",
            "icon": "text"
          }
        },
        "updated": {
          "at": "2025-02-21T17:59:53.424Z",
          "by": "[Circular Reference]"
        }
      },
      "$meta": {
        "omitted": [
          "text"
        ]
      },
      "href": "text",
      "externalIds": {
        "pyraTenantId": "123e4567-e89b-12d3-a456-426614174000"
      },
      "externalId": "text",
      "externalName": "text",
      "type": "Client",
      "status": "Active",
      "serviceLevel": "Express",
      "address": {
        "addressLine1": "text",
        "addressLine2": "text",
        "postCode": "text",
        "city": "text",
        "state": "text",
        "country": "text"
      },
      "icon": "text",
      "technicalSupportEmail": "hello@example.com",
      "website": "text",
      "description": "text",
      "name": "text",
      "groups": [
        {
          "id": "text",
          "audit": "[Circular Reference]",
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "description": "text",
          "account": "[Circular Reference]",
          "logo": "text",
          "isDefault": true,
          "modules": "[Circular Reference]",
          "users": "[Circular Reference]",
          "buyers": "[Circular Reference]"
        }
      ]
    },
    "name": "text",
    "errors": [
      {
        "id": "text",
        "message": "text",
        "parameters": null
      }
    ],
    "sellers": [
      {
        "id": "text",
        "audit": {
          "created": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": {
              "id": "text",
              "audit": {
                "created": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                },
                "updated": {
                  "at": "2025-02-21T17:59:53.424Z",
                  "by": "[Circular Reference]"
                }
              },
              "$meta": {
                "omitted": [
                  "text"
                ]
              },
              "href": "text",
              "name": "text",
              "icon": "text"
            }
          },
          "updated": {
            "at": "2025-02-21T17:59:53.424Z",
            "by": "[Circular Reference]"
          }
        },
        "$meta": {
          "omitted": [
            "text"
          ]
        },
        "href": "text",
        "externalId": "text",
        "status": "Active",
        "icon": "text",
        "address": {
          "addressLine1": "text",
          "addressLine2": "text",
          "postCode": "text",
          "city": "text",
          "state": "text",
          "country": "text"
        },
        "name": "text",
        "currencies": [
          "text"
        ]
      }
    ]
  },
  "seller": {
    "id": "text",
    "audit": {
      "created": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": {
          "id": "text",
          "audit": {
            "created": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            },
            "updated": {
              "at": "2025-02-21T17:59:53.424Z",
              "by": "[Circular Reference]"
            }
          },
          "$meta": {
            "omitted": [
              "text"
            ]
          },
          "href": "text",
          "name": "text",
          "icon": "text"
        }
      },
      "updated": {
        "at": "2025-02-21T17:59:53.424Z",
        "by": "[Circular Reference]"
      }
    },
    "$meta": {
      "omitted": [
        "text"
      ]
    },
    "href": "text",
    "externalId": "text",
    "status": "Active",
    "icon": "text",
    "address": {
      "addressLine1": "text",
      "addressLine2": "text",
      "postCode": "text",
      "city": "text",
      "state": "text",
      "country": "text"
    },
    "name": "text",
    "currencies": [
      "text"
    ]
  }
}

Last updated

Was this helpful?