Chilkat Online Tools

DataFlex / Zoom API / Update a user

Back to Collection Items

Use ChilkatAx-9.5.0-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vReq
    Handle hoReq
    Variant vResp
    Handle hoResp
    Integer iRespStatusCode
    String sTemp1
    Boolean bTemp1

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

    Get Create (RefClass(cComChilkatHttpRequest)) To hoReq
    If (Not(IsComObjectCreated(hoReq))) Begin
        Send CreateComObject of hoReq
    End
    Set ComHttpVerb Of hoReq To "PATCH"
    Set ComPath Of hoReq To "/v2/users/:userId?login_type=100&remove_tsp_credentials=true"
    Set ComContentType Of hoReq To "multipart/form-data"
    Send ComAddParam To hoReq "first_name" "in nu"

    Send ComAddParam To hoReq "last_name" "in nuelit"

    Send ComAddParam To hoReq "" ""

    Send ComAddParam To hoReq "pmi" "in nuelit99-25518892"

    Send ComAddParam To hoReq "use_pmi" "in nuelit99-25518892false"

    Send ComAddParam To hoReq "timezone" "in nuelit99-25518892falseanim ipsum in"

    Send ComAddParam To hoReq "language" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatat"

    Send ComAddParam To hoReq "dept" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor tempor"

    Send ComAddParam To hoReq "vanity_name" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor labore"

    Send ComAddParam To hoReq "host_key" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim p"

    Send ComAddParam To hoReq "cms_user_id" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Ut"

    Send ComAddParam To hoReq "job_title" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiat"

    Send ComAddParam To hoReq "company" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim ex"

    Send ComAddParam To hoReq "location" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse dolore"

    Send ComAddParam To hoReq "phone_number" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididunt"

    Send ComAddParam To hoReq "phone_country" "in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum"

    Send ComAddParam To hoReq "custom_attributes" 'in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}'

    Send ComAddParam To hoReq "group_id" 'in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed'

    Send ComAddParam To hoReq "phone_numbers" 'in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}'

    Send ComAddParam To hoReq "manager" 'in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}H-BwfF@h.qxj'

    Send ComAddParam To hoReq "pronouns" 'in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}H-BwfF@h.qxjexercitation laboris'

    Send ComAddParam To hoReq "pronouns_option" 'in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}H-BwfF@h.qxjexercitation laboris2'

    Send ComAddHeader To hoReq "Authorization" "Bearer <access_token>"

    Get pvComObject of hoReq to vReq
    Get ComSynchronousRequest Of hoHttp "api.zoom.us" 443 True vReq To vResp
    If (IsComObject(vResp)) Begin
        Get Create (RefClass(cComChilkatHttpResponse)) To hoResp
        Set pvComObject Of hoResp To vResp
    End
    Get ComLastMethodSuccess Of hoHttp To bTemp1
    If (bTemp1 = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get ComStatusCode Of hoResp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode <> 204) Begin
        Showln "Response Header:"
        Get ComHeader Of hoResp To sTemp1
        Showln sTemp1
        Showln "Response Body:"
        Get ComBodyStr Of hoResp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Send Destroy of hoResp
        Procedure_Return
    End

    Send Destroy of hoResp
    Showln "Success."


End_Procedure

Curl Command

curl -X PATCH
	-H "Authorization: Bearer <access_token>"
	-H "Content-Type: multipart/form-data"
	--form 'first_name=in nu'
	--form 'last_name=in nuelit'
	--form 'type=in nuelit99'
	--form 'pmi=in nuelit99-25518892'
	--form 'use_pmi=in nuelit99-25518892false'
	--form 'timezone=in nuelit99-25518892falseanim ipsum in'
	--form 'language=in nuelit99-25518892falseanim ipsum indolor veniam cupidatat'
	--form 'dept=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor tempor'
	--form 'vanity_name=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor labore'
	--form 'host_key=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim p'
	--form 'cms_user_id=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Ut'
	--form 'job_title=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiat'
	--form 'company=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim ex'
	--form 'location=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse dolore'
	--form 'phone_number=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididunt'
	--form 'phone_country=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum'
	--form 'custom_attributes=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}'
	--form 'group_id=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed'
	--form 'phone_numbers=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}'
	--form 'manager=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}H-BwfF@h.qxj'
	--form 'pronouns=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}H-BwfF@h.qxjexercitation laboris'
	--form 'pronouns_option=in nuelit99-25518892falseanim ipsum indolor veniam cupidatatdolor temporin quis dolor laboreenim pnisi commodo Utnisi elit fugiatdolore mollit enim exreprehenderit laboris esse doloreproident incididuntmollit labore et laborum{"key":"fugiat","name":"reprehenderit ullamco sit fugiat","value":"incididunt"}amet Lorem reprehenderit eu sed{"country":"ut ullamco ea","code":"ad adipisicing","number":"eiusmod ipsum enim","label":"Home"}H-BwfF@h.qxjexercitation laboris2'
https://api.zoom.us/v2/users/:userId?login_type=100&remove_tsp_credentials=true

Postman Collection Item JSON

{
  "name": "Update a user",
  "request": {
    "method": "PATCH",
    "header": [
      {
        "key": "Content-Type",
        "value": "multipart/form-data"
      }
    ],
    "body": {
      "mode": "formdata",
      "formdata": [
        {
          "key": "first_name",
          "value": "in nu",
          "description": "User's first name. Cannot contain more than 5 Chinese characters.",
          "type": "text"
        },
        {
          "key": "last_name",
          "value": "elit ",
          "description": "User's last name. Cannot contain more than 5 Chinese characters.",
          "type": "text"
        },
        {
          "key": "type",
          "value": "99",
          "description": "User types:<br>`1` - Basic.<br>`2` - Licensed.<br>`3` - On-prem.<br>`99` - None (this can only be set with `ssoCreate`). (This can only be one of 1,2,3,99)",
          "type": "text"
        },
        {
          "key": "pmi",
          "value": "-25518892",
          "description": "Personal meeting ID: length must be 10.",
          "type": "text"
        },
        {
          "key": "use_pmi",
          "value": "false",
          "description": "Use Personal Meeting ID for instant meetings.",
          "type": "text"
        },
        {
          "key": "timezone",
          "value": "anim ipsum in",
          "description": "The time zone ID for a user profile. For this parameter value please refer to the ID value in the [timezone](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones) list.",
          "type": "text"
        },
        {
          "key": "language",
          "value": "dolor veniam cupidatat",
          "description": "language",
          "type": "text"
        },
        {
          "key": "dept",
          "value": "dolor tempor",
          "description": "Department for user profile: use for report.",
          "type": "text"
        },
        {
          "key": "vanity_name",
          "value": "in quis dolor labore",
          "description": "Personal meeting room name.",
          "type": "text"
        },
        {
          "key": "host_key",
          "value": "enim p",
          "description": "Host key. It should be a 6-10 digit number.",
          "type": "text"
        },
        {
          "key": "cms_user_id",
          "value": "nisi commodo Ut",
          "description": "Kaltura user ID.",
          "type": "text"
        },
        {
          "key": "job_title",
          "value": "nisi elit fugiat",
          "description": "User's job title.",
          "type": "text"
        },
        {
          "key": "company",
          "value": "dolore mollit enim ex",
          "description": "User's company.",
          "type": "text"
        },
        {
          "key": "location",
          "value": "reprehenderit laboris esse dolore",
          "description": "User's location.",
          "type": "text"
        },
        {
          "key": "phone_number",
          "value": "proident incididunt",
          "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **phone_numbers** field instead to assign phone number(s) to a user.\n\n\nPhone number of the user. To update a phone number, you must also provide the `phone_country` field.",
          "type": "text"
        },
        {
          "key": "phone_country",
          "value": "mollit labore et laborum",
          "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **country** field of the **phone_numbers** object instead to select the country for the phone number.\n\n\n\n[Country ID](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#countries) of the phone number. For example, if the phone number provided in the `phone_number` field is a Brazil based number, the value of the `phone_country` field should be `BR`.",
          "type": "text"
        },
        {
          "key": "custom_attributes",
          "value": "{\"key\":\"fugiat\",\"name\":\"reprehenderit ullamco sit fugiat\",\"value\":\"incididunt\"}",
          "description": "Custom attribute(s) of the user.",
          "type": "text"
        },
        {
          "key": "group_id",
          "value": "amet Lorem reprehenderit eu sed",
          "description": "Provide unique identifier of the group that you would like to add a [pending user](https://support.zoom.us/hc/en-us/articles/201363183-Managing-users#h_13c87a2a-ecd6-40ad-be61-a9935e660edb) to. The value of this field can be retrieved from [List Groups](https://marketplace.zoom.us/docs/api-reference/zoom-api/groups/groups) API.",
          "type": "text"
        },
        {
          "key": "phone_numbers",
          "value": "{\"country\":\"ut ullamco ea\",\"code\":\"ad adipisicing\",\"number\":\"eiusmod ipsum enim\",\"label\":\"Home\"}",
          "type": "text"
        },
        {
          "key": "manager",
          "value": "H-BwfF@h.qxj",
          "description": "The manager for the user.",
          "type": "text"
        },
        {
          "key": "pronouns",
          "value": "exercitation laboris",
          "description": "The user's pronouns.",
          "type": "text"
        },
        {
          "key": "pronouns_option",
          "value": "2",
          "description": "The user's display pronouns setting:\n* `1` — Ask the user every time they join meetings and webinars. \n* `2` — Always display pronouns in meetings and webinars. \n* `3` — Do not display pronouns in meetings and webinars. (This can only be one of 1,2,3)",
          "type": "text"
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/users/:userId?login_type=100&remove_tsp_credentials=true",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "users",
        ":userId"
      ],
      "query": [
        {
          "key": "login_type",
          "value": "100",
          "description": "The user's login method:\n\n`0` — Facebook OAuth</br>`1` — Google OAuth</br>`24` — Apple OAuth</br>`27` — Microsoft OAuth</br>`97` — Mobile device</br>`98` — RingCentral OAuth</br>`99` — API user</br>`100` — Zoom Work email</br>`101` — Single Sign-On (SSO)\n\nThe following login methods are only available in China:\n\n`11` — Phone number</br>`21` — WeChat</br>`23` — Alipay"
        },
        {
          "key": "remove_tsp_credentials",
          "value": "true",
          "description": "Whether need to remove TSP credentials: \n* `true` — Need to remove TSP credentials. \n* `false` — Not need to remove TSP credentials. \n\n This value defaults to `false` (null)."
        }
      ],
      "variable": [
        {
          "key": "userId",
          "value": "quis officia in reprehenderit",
          "description": "(Required) The user ID or email address of the user. For user-level apps, pass the `me` value for this parameter."
        }
      ]
    },
    "description": "Update information on a user's [Zoom profile](https://support.zoom.us/hc/en-us/articles/201363203-My-Profile). For user-level apps, pass [the `me` value](https://marketplace.zoom.us/docs/api-reference/using-zoom-apis#mekeyword) instead of the `userId` parameter.\n\n**Scopes:** `user:write:admin` `user:write`<br>**[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Light`"
  },
  "response": [
    {
      "name": "**HTTP Status Code:** `204` <br> \nUser updated.",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "first_name",
              "value": "in nu",
              "description": "User's first name. Cannot contain more than 5 Chinese characters.",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "elit ",
              "description": "User's last name. Cannot contain more than 5 Chinese characters.",
              "type": "text"
            },
            {
              "key": "type",
              "value": "99",
              "description": "User types:<br>`1` - Basic.<br>`2` - Licensed.<br>`3` - On-prem.<br>`99` - None (this can only be set with `ssoCreate`). (This can only be one of 1,2,3,99)",
              "type": "text"
            },
            {
              "key": "pmi",
              "value": "-25518892",
              "description": "Personal meeting ID: length must be 10.",
              "type": "text"
            },
            {
              "key": "use_pmi",
              "value": "false",
              "description": "Use Personal Meeting ID for instant meetings.",
              "type": "text"
            },
            {
              "key": "timezone",
              "value": "anim ipsum in",
              "description": "The time zone ID for a user profile. For this parameter value please refer to the ID value in the [timezone](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones) list.",
              "type": "text"
            },
            {
              "key": "language",
              "value": "dolor veniam cupidatat",
              "description": "language",
              "type": "text"
            },
            {
              "key": "dept",
              "value": "dolor tempor",
              "description": "Department for user profile: use for report.",
              "type": "text"
            },
            {
              "key": "vanity_name",
              "value": "in quis dolor labore",
              "description": "Personal meeting room name.",
              "type": "text"
            },
            {
              "key": "host_key",
              "value": "enim p",
              "description": "Host key. It should be a 6-10 digit number.",
              "type": "text"
            },
            {
              "key": "cms_user_id",
              "value": "nisi commodo Ut",
              "description": "Kaltura user ID.",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "nisi elit fugiat",
              "description": "User's job title.",
              "type": "text"
            },
            {
              "key": "company",
              "value": "dolore mollit enim ex",
              "description": "User's company.",
              "type": "text"
            },
            {
              "key": "location",
              "value": "reprehenderit laboris esse dolore",
              "description": "User's location.",
              "type": "text"
            },
            {
              "key": "phone_number",
              "value": "proident incididunt",
              "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **phone_numbers** field instead to assign phone number(s) to a user.\n\n\nPhone number of the user. To update a phone number, you must also provide the `phone_country` field.",
              "type": "text"
            },
            {
              "key": "phone_country",
              "value": "mollit labore et laborum",
              "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **country** field of the **phone_numbers** object instead to select the country for the phone number.\n\n\n\n[Country ID](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#countries) of the phone number. For example, if the phone number provided in the `phone_number` field is a Brazil based number, the value of the `phone_country` field should be `BR`.",
              "type": "text"
            },
            {
              "key": "custom_attributes",
              "value": "{\"key\":\"fugiat\",\"name\":\"reprehenderit ullamco sit fugiat\",\"value\":\"incididunt\"}",
              "description": "Custom attribute(s) of the user.",
              "type": "text"
            },
            {
              "key": "group_id",
              "value": "amet Lorem reprehenderit eu sed",
              "description": "Provide unique identifier of the group that you would like to add a [pending user](https://support.zoom.us/hc/en-us/articles/201363183-Managing-users#h_13c87a2a-ecd6-40ad-be61-a9935e660edb) to. The value of this field can be retrieved from [List Groups](https://marketplace.zoom.us/docs/api-reference/zoom-api/groups/groups) API.",
              "type": "text"
            },
            {
              "key": "phone_numbers",
              "value": "{\"country\":\"ut ullamco ea\",\"code\":\"ad adipisicing\",\"number\":\"eiusmod ipsum enim\",\"label\":\"Home\"}",
              "type": "text"
            },
            {
              "key": "manager",
              "value": "H-BwfF@h.qxj",
              "description": "The manager for the user.",
              "type": "text"
            },
            {
              "key": "pronouns",
              "value": "exercitation laboris",
              "description": "The user's pronouns.",
              "type": "text"
            },
            {
              "key": "pronouns_option",
              "value": "2",
              "description": "The user's display pronouns setting:\n* `1` — Ask the user every time they join meetings and webinars. \n* `2` — Always display pronouns in meetings and webinars. \n* `3` — Do not display pronouns in meetings and webinars. (This can only be one of 1,2,3)",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/users/:userId?login_type=100&remove_tsp_credentials=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "users",
            ":userId"
          ],
          "query": [
            {
              "key": "login_type",
              "value": "100"
            },
            {
              "key": "remove_tsp_credentials",
              "value": "true"
            }
          ],
          "variable": [
            {
              "key": "userId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) The user ID or email address of the user. For user-level apps, pass the `me` value for this parameter."
            }
          ]
        }
      },
      "status": "No Content",
      "code": 204,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `400` **Bad Request**<br><br>\n**Error Code:** `200`<br>A Zoom Room user cannot be updated to a free user type: $userId<br>Only an account administrator can change a user's name. <br>Only an account administrator can change the host k",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "first_name",
              "value": "in nu",
              "description": "User's first name. Cannot contain more than 5 Chinese characters.",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "elit ",
              "description": "User's last name. Cannot contain more than 5 Chinese characters.",
              "type": "text"
            },
            {
              "key": "type",
              "value": "99",
              "description": "User types:<br>`1` - Basic.<br>`2` - Licensed.<br>`3` - On-prem.<br>`99` - None (this can only be set with `ssoCreate`). (This can only be one of 1,2,3,99)",
              "type": "text"
            },
            {
              "key": "pmi",
              "value": "-25518892",
              "description": "Personal meeting ID: length must be 10.",
              "type": "text"
            },
            {
              "key": "use_pmi",
              "value": "false",
              "description": "Use Personal Meeting ID for instant meetings.",
              "type": "text"
            },
            {
              "key": "timezone",
              "value": "anim ipsum in",
              "description": "The time zone ID for a user profile. For this parameter value please refer to the ID value in the [timezone](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones) list.",
              "type": "text"
            },
            {
              "key": "language",
              "value": "dolor veniam cupidatat",
              "description": "language",
              "type": "text"
            },
            {
              "key": "dept",
              "value": "dolor tempor",
              "description": "Department for user profile: use for report.",
              "type": "text"
            },
            {
              "key": "vanity_name",
              "value": "in quis dolor labore",
              "description": "Personal meeting room name.",
              "type": "text"
            },
            {
              "key": "host_key",
              "value": "enim p",
              "description": "Host key. It should be a 6-10 digit number.",
              "type": "text"
            },
            {
              "key": "cms_user_id",
              "value": "nisi commodo Ut",
              "description": "Kaltura user ID.",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "nisi elit fugiat",
              "description": "User's job title.",
              "type": "text"
            },
            {
              "key": "company",
              "value": "dolore mollit enim ex",
              "description": "User's company.",
              "type": "text"
            },
            {
              "key": "location",
              "value": "reprehenderit laboris esse dolore",
              "description": "User's location.",
              "type": "text"
            },
            {
              "key": "phone_number",
              "value": "proident incididunt",
              "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **phone_numbers** field instead to assign phone number(s) to a user.\n\n\nPhone number of the user. To update a phone number, you must also provide the `phone_country` field.",
              "type": "text"
            },
            {
              "key": "phone_country",
              "value": "mollit labore et laborum",
              "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **country** field of the **phone_numbers** object instead to select the country for the phone number.\n\n\n\n[Country ID](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#countries) of the phone number. For example, if the phone number provided in the `phone_number` field is a Brazil based number, the value of the `phone_country` field should be `BR`.",
              "type": "text"
            },
            {
              "key": "custom_attributes",
              "value": "{\"key\":\"fugiat\",\"name\":\"reprehenderit ullamco sit fugiat\",\"value\":\"incididunt\"}",
              "description": "Custom attribute(s) of the user.",
              "type": "text"
            },
            {
              "key": "group_id",
              "value": "amet Lorem reprehenderit eu sed",
              "description": "Provide unique identifier of the group that you would like to add a [pending user](https://support.zoom.us/hc/en-us/articles/201363183-Managing-users#h_13c87a2a-ecd6-40ad-be61-a9935e660edb) to. The value of this field can be retrieved from [List Groups](https://marketplace.zoom.us/docs/api-reference/zoom-api/groups/groups) API.",
              "type": "text"
            },
            {
              "key": "phone_numbers",
              "value": "{\"country\":\"ut ullamco ea\",\"code\":\"ad adipisicing\",\"number\":\"eiusmod ipsum enim\",\"label\":\"Home\"}",
              "type": "text"
            },
            {
              "key": "manager",
              "value": "H-BwfF@h.qxj",
              "description": "The manager for the user.",
              "type": "text"
            },
            {
              "key": "pronouns",
              "value": "exercitation laboris",
              "description": "The user's pronouns.",
              "type": "text"
            },
            {
              "key": "pronouns_option",
              "value": "2",
              "description": "The user's display pronouns setting:\n* `1` — Ask the user every time they join meetings and webinars. \n* `2` — Always display pronouns in meetings and webinars. \n* `3` — Do not display pronouns in meetings and webinars. (This can only be one of 1,2,3)",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/users/:userId?login_type=100&remove_tsp_credentials=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "users",
            ":userId"
          ],
          "query": [
            {
              "key": "login_type",
              "value": "100"
            },
            {
              "key": "remove_tsp_credentials",
              "value": "true"
            }
          ],
          "variable": [
            {
              "key": "userId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) The user ID or email address of the user. For user-level apps, pass the `me` value for this parameter."
            }
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "**HTTP Status Code:** `404`<br>\n**Error Code:** `1001`<br>\nUser does not exist: $userId.<br>",
      "originalRequest": {
        "method": "PATCH",
        "header": [
          {
            "description": "Added as a part of security scheme: oauth2",
            "key": "Authorization",
            "value": "<token>"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "first_name",
              "value": "in nu",
              "description": "User's first name. Cannot contain more than 5 Chinese characters.",
              "type": "text"
            },
            {
              "key": "last_name",
              "value": "elit ",
              "description": "User's last name. Cannot contain more than 5 Chinese characters.",
              "type": "text"
            },
            {
              "key": "type",
              "value": "99",
              "description": "User types:<br>`1` - Basic.<br>`2` - Licensed.<br>`3` - On-prem.<br>`99` - None (this can only be set with `ssoCreate`). (This can only be one of 1,2,3,99)",
              "type": "text"
            },
            {
              "key": "pmi",
              "value": "-25518892",
              "description": "Personal meeting ID: length must be 10.",
              "type": "text"
            },
            {
              "key": "use_pmi",
              "value": "false",
              "description": "Use Personal Meeting ID for instant meetings.",
              "type": "text"
            },
            {
              "key": "timezone",
              "value": "anim ipsum in",
              "description": "The time zone ID for a user profile. For this parameter value please refer to the ID value in the [timezone](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#timezones) list.",
              "type": "text"
            },
            {
              "key": "language",
              "value": "dolor veniam cupidatat",
              "description": "language",
              "type": "text"
            },
            {
              "key": "dept",
              "value": "dolor tempor",
              "description": "Department for user profile: use for report.",
              "type": "text"
            },
            {
              "key": "vanity_name",
              "value": "in quis dolor labore",
              "description": "Personal meeting room name.",
              "type": "text"
            },
            {
              "key": "host_key",
              "value": "enim p",
              "description": "Host key. It should be a 6-10 digit number.",
              "type": "text"
            },
            {
              "key": "cms_user_id",
              "value": "nisi commodo Ut",
              "description": "Kaltura user ID.",
              "type": "text"
            },
            {
              "key": "job_title",
              "value": "nisi elit fugiat",
              "description": "User's job title.",
              "type": "text"
            },
            {
              "key": "company",
              "value": "dolore mollit enim ex",
              "description": "User's company.",
              "type": "text"
            },
            {
              "key": "location",
              "value": "reprehenderit laboris esse dolore",
              "description": "User's location.",
              "type": "text"
            },
            {
              "key": "phone_number",
              "value": "proident incididunt",
              "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **phone_numbers** field instead to assign phone number(s) to a user.\n\n\nPhone number of the user. To update a phone number, you must also provide the `phone_country` field.",
              "type": "text"
            },
            {
              "key": "phone_country",
              "value": "mollit labore et laborum",
              "description": "**Note:** This field has been **deprecated** and will not be supported in the future. Use the **country** field of the **phone_numbers** object instead to select the country for the phone number.\n\n\n\n[Country ID](https://marketplace.zoom.us/docs/api-reference/other-references/abbreviation-lists#countries) of the phone number. For example, if the phone number provided in the `phone_number` field is a Brazil based number, the value of the `phone_country` field should be `BR`.",
              "type": "text"
            },
            {
              "key": "custom_attributes",
              "value": "{\"key\":\"fugiat\",\"name\":\"reprehenderit ullamco sit fugiat\",\"value\":\"incididunt\"}",
              "description": "Custom attribute(s) of the user.",
              "type": "text"
            },
            {
              "key": "group_id",
              "value": "amet Lorem reprehenderit eu sed",
              "description": "Provide unique identifier of the group that you would like to add a [pending user](https://support.zoom.us/hc/en-us/articles/201363183-Managing-users#h_13c87a2a-ecd6-40ad-be61-a9935e660edb) to. The value of this field can be retrieved from [List Groups](https://marketplace.zoom.us/docs/api-reference/zoom-api/groups/groups) API.",
              "type": "text"
            },
            {
              "key": "phone_numbers",
              "value": "{\"country\":\"ut ullamco ea\",\"code\":\"ad adipisicing\",\"number\":\"eiusmod ipsum enim\",\"label\":\"Home\"}",
              "type": "text"
            },
            {
              "key": "manager",
              "value": "H-BwfF@h.qxj",
              "description": "The manager for the user.",
              "type": "text"
            },
            {
              "key": "pronouns",
              "value": "exercitation laboris",
              "description": "The user's pronouns.",
              "type": "text"
            },
            {
              "key": "pronouns_option",
              "value": "2",
              "description": "The user's display pronouns setting:\n* `1` — Ask the user every time they join meetings and webinars. \n* `2` — Always display pronouns in meetings and webinars. \n* `3` — Do not display pronouns in meetings and webinars. (This can only be one of 1,2,3)",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/users/:userId?login_type=100&remove_tsp_credentials=true",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "users",
            ":userId"
          ],
          "query": [
            {
              "key": "login_type",
              "value": "100"
            },
            {
              "key": "remove_tsp_credentials",
              "value": "true"
            }
          ],
          "variable": [
            {
              "key": "userId",
              "value": "quis officia in reprehenderit",
              "description": "(Required) The user ID or email address of the user. For user-level apps, pass the `me` value for this parameter."
            }
          ]
        }
      },
      "status": "Not Found",
      "code": 404,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}