Webex · Example Payload

Webex Assign Licenses To Users Example

CallingCollaborationCommunicationsEnterpriseMessagingVideo Conferencing

Webex Assign Licenses To Users Example is an example object payload from Webex, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "Assign_Licenses_to_Users",
  "method": "PATCH",
  "path": "/licenses/users",
  "summary": "Assign Licenses to Users",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "email": "john.andersen@example.com",
        "personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
        "orgId": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
        "licenses": [
          {
            "id": "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LWExNTItZmUzNDgxOWNkYzlh",
            "operation": "add",
            "properties": {
              "locationId": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzYzNzE1",
              "phoneNumber": "+14085267209",
              "extension": "133"
            }
          },
          {
            "id": "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LTU2eTctMGY0NTU2YWRleWhu",
            "operation": "remove"
          },
          {
            "id": "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LTIzNDItMGY0NTU2YWRlZXJm",
            "operation": "add"
          }
        ],
        "siteUrls": [
          {
            "siteUrl": "mysite.webex.com",
            "accountType": "attendee",
            "operation": "add"
          }
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "orgId": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
        "personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
        "email": "john.andersen@example.com",
        "licenses": [
          "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LWExNTItZmUzNDgxOWNkYzlh",
          "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LWIyNjMtMGY0NTkyYWRlZmFi",
          "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LTIzNDItMGY0NTU2YWRlZXJm"
        ],
        "siteUrls": [
          {
            "siteUrl": "mysite.webex.com",
            "accountType": "attendee"
          },
          {
            "siteUrl": "myhostsite.webex.com",
            "accountType": "host"
          }
        ]
      }
    },
    {
      "status": "206",
      "contentType": "application/json",
      "example": {
        "orgId": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE",
        "personId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS9mNWIzNjE4Ny1jOGRkLTQ3MjctOGIyZi1mOWM0NDdmMjkwNDY",
        "email": "john.andersen@example.com",
        "licenses": [
          "Y2lzY29zcGFyazovL3VzL0xJQ0VOU0UvOTZhYmMyYWEtM2RjYy0xMWU1LWExNTItZmUzNDgxOWNkYzlh"
        ],
        "siteUrls": [
          {
            "siteUrl": "mysite.webex.com",
            "accountType": "attendee"
          }
        ]
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "locationNotFound",
      "example": {
        "message": "Unable to find location",
        "errors": [
          {
            "errorCode": 400,
            "description": "Unable to find location."
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "licenseNotRecognized",
      "example": {
        "message": "License not recognized",
        "errors": [
          {
            "errorCode": 400000,
            "description": "License not recognized {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "callingLicenseDowngrade",
      "example": {
        "message": "License assignment failed",
        "errors": [
          {
            "errorCode": 400112,
            "description": "Changing a user's Webex Calling license from Professional to Standard is not allowed. The following license(s) could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "messengerLicenseManagement",
      "example": {
        "message": "License management not supported",
        "errors": [
          {
            "errorCode": 400118,
            "description": "User management of Messenger license {licenses} is not supported"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "invalidSiteUrl",
      "example": {
        "message": "Invalid site URL",
        "errors": [
          {
            "errorCode": 400216,
            "description": "Request contains invalid attendee siteUrls: {siteUrl}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "conflictingCallingLicenses",
      "example": {
        "message": "License conflict",
        "errors": [
          {
            "errorCode": 400404,
            "description": "User cannot have both Webex Calling Professional and Standard License together. The following license(s) could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "callingStandardAttendantConflict",
      "example": {
        "message": "License conflict",
        "errors": [
          {
            "errorCode": 400406,
            "description": "User cannot have both Webex Calling Standard and Webex Attendant Console licenses together. The following license(s) could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "callingStandardCXEssentialConflict",
      "example": {
        "message": "License conflict",
        "errors": [
          {
            "errorCode": 400407,
            "description": "User cannot have both Webex Calling Standard and CX Essential licenses together. The following license(s) could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "attendantConsolePrerequisite",
      "example": {
        "message": "License prerequisite missing",
        "errors": [
          {
            "errorCode": 400408,
            "description": "User needs Webex Calling Professional license to be assigned before assigning Webex Attendant Console: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "cxEssentialDowngrade",
      "example": {
        "message": "License downgrade not allowed",
        "errors": [
          {
            "errorCode": 400410,
            "description": "Changing a user's license from CX Essential to Webex Calling Standard is not allowed. The following license(s) could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "missingCallingProperties",
      "example": {
        "message": "License properties missing",
        "errors": [
          {
            "errorCode": 400411,
            "description": "Each Webex Calling license should contain its own calling properties. The following license(s) do not have properties: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "exclusiveLicenseConflict",
      "example": {
        "message": "License conflict",
        "errors": [
          {
            "errorCode": 400413,
            "description": "Could not apply the following license(s): {licenses} as the user can be assigned only one of licenses with the offer code from the list:"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "freeMessagingPrerequisite",
      "example": {
        "message": "License prerequisite missing",
        "errors": [
          {
            "errorCode": 700003,
            "description": "Free teams messaging mandatory for paid teams messaging license. The following license could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "freeMeetingPrerequisite",
      "example": {
        "message": "License prerequisite missing",
        "errors": [
          {
            "errorCode": 700004,
            "description": "Free teams meeting mandatory for paid teams meeting license. The following license could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "messagingPrerequisiteForMeeting",
      "example": {
        "message": "License prerequisite missing",
        "errors": [
          {
            "errorCode": 700005,
            "description": "Free teams messaging mandatory for teams meeting license. The following license(s) could not be applied as requested: {licenses}"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    },
    {
      "status": "400",
      "contentType": "application/json",
      "name": "screenShareImplicit",
      "example": {
        "message": "License removal not allowed",
        "errors": [
          {
            "errorCode": 700006,
            "description": "Screen Share {licenses} is implicitly assigned and cannot be removed"
          }
        ],
        "trackingId": "NA_88b8b4ce-6338-4d3a-8d6c-22b37e62354f"
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/webex-assign-licenses-to-users-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.