<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>The error message you're getting would happen if you have a
      "keywords" object in your JSON payload. Your example doesn't show
      one, though, which doesn't make sense. Did you simplify the
      example without actually trying it that way?  I tried your example
      exactly as-is (except with the URL and api key changed of course)
      and it works fine on mine.</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 3/4/25 11:46 PM, Carlo Barrientos
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:MW4PR15MB4556E2A8376DEFB9F7E2D390D2C82@MW4PR15MB4556.namprd15.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
      <pre><div class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Is the Update User functionality supported in 5.2?</div></pre>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Documentation for 5.2 says:</div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px 40px 24px 80px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt;">
        <span style="color: rgb(0, 0, 0); font-weight: 700;">6.1.13.5. Update
          User</span><span style="color: rgb(155, 89, 182);"><a
href="https://bugzilla.readthedocs.io/en/5.2/api/core/v1/user.html#update-user"
            id="OWA70557c29-37e4-7f83-5f9f-441e4d6147b4"
            class="headerlink OWAAutoLink"
            title="Permalink to this heading"
style="color: rgb(155, 89, 182); display: inline-block; margin-left: 0.5em;"
            moz-do-not-send="true"></a></span></div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: 24px; margin: 0px 40px 24px 80px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Updates an existing user account in Bugzilla. You must be
        authenticated and be in the
        <i>editusers</i>group to perform this action.</div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: 24px; margin: 0px 40px 24px 80px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <span style="font-weight: 700;">Request</span></div>
      <div
style="margin: 1px 40px 24px; border-width: 1px; border-style: solid; border-color: rgb(225, 228, 229);">
        <pre style="margin: 0px; padding: 12px; display: block;"><div
        class="elementToProof"
style="text-align: left; line-height: 1.4; white-space: normal; margin-left: 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">PUT /rest/user/(id_or_name)
</div></pre>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: 24px; margin: 0px 40px 24px 80px; font-size: 12pt; color: rgb(0, 0, 0);">
        <span
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;">You
          can edit a single user by passing the ID or login name of the
          user in the URL. To edit more than one user, you can specify
          addition IDs or login names using the </span><span
style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace;"><code
style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace;">ids</code></span><span
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;"> or
        </span><span
style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace;"><code
style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace;">names</code></span><span
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;"> parameters
          respectively.</span></div>
      <div
style="margin-right: 40px; margin-bottom: 24px; margin-left: 40px; max-width: 100%;">
        <table class="elementToProof"
style="text-align: left; text-indent: 0px; border-width: 1px; border-style: solid; border-color: rgb(225, 228, 229); margin-bottom: 24px; box-sizing: border-box; border-collapse: collapse; border-spacing: 0px;">
          <tbody>
            <tr>
              <th
style="width: 117.578px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-width: 1px; border-style: solid; border-color: rgb(225, 228, 229); padding: 8px 16px; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <span style="font-weight: 700;">name</span></div>
              </th>
              <th
style="width: 74.5881px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-width: 1px; border-style: solid; border-color: rgb(225, 228, 229); padding: 8px 16px; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <span style="font-weight: 700;">type</span></div>
              </th>
              <th
style="width: 389.29px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-width: 1px; border-style: solid; border-color: rgb(225, 228, 229); padding: 8px 16px; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <span style="font-weight: 700;">description</span></div>
              </th>
            </tr>
            <tr>
              <td
style="width: 117.578px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); background-color: rgb(243, 246, 246); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <span style="font-weight: 700;">id_or_name</span></div>
              </td>
              <td
style="width: 74.5881px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); background-color: rgb(243, 246, 246); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  mixed</div>
              </td>
              <td
style="width: 389.29px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); background-color: rgb(243, 246, 246); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  Either the ID or the login name of the user to update.</div>
              </td>
            </tr>
            <tr>
              <td
style="width: 117.578px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <span style="font-weight: 700;">ids</span></div>
              </td>
              <td
style="width: 74.5881px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  array</div>
              </td>
              <td
style="width: 389.29px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  Additional IDs of users to update.</div>
              </td>
            </tr>
            <tr>
              <td
style="width: 117.578px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); background-color: rgb(243, 246, 246); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  <span style="font-weight: 700;">names</span></div>
              </td>
              <td
style="width: 74.5881px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); background-color: rgb(243, 246, 246); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  array</div>
              </td>
              <td
style="width: 389.29px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); background-color: rgb(243, 246, 246); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  Additional login names of users to update.</div>
              </td>
            </tr>
            <tr>
              <td
style="width: 117.578px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  full_name</div>
              </td>
              <td
style="width: 74.5881px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  string</div>
              </td>
              <td
style="width: 389.29px; height: 32.9048px; text-align: left; text-indent: 0px; white-space: nowrap; border-bottom: 1px solid rgb(225, 228, 229); border-left: 1px solid rgb(225, 228, 229); padding: 8px 16px; vertical-align: middle; box-sizing: border-box;">
                <div
style="text-align: left; text-indent: 0px; line-height: 1rem; white-space: nowrap; margin: 0px 0px 0px 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
                  The new name of the user.</div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        ===============</div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);">
        <span style="font-size: 14pt;"><b>However,</b></span><span
          style="font-size: 12pt;"> when I try to make a change to
          user/3  in my test server, the response is an error as shown
          below:</span></div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px 40px; font-family: "Aptos Mono", Aptos_EmbeddedFont, Aptos_MSFontService, monospace; font-size: 10pt; color: rgb(0, 0, 0);">
         % curl -X PUT
<a class="moz-txt-link-rfc2396E" href="http://localhost/bugzilla/rest.cgi/user/3?api_key=sHpZTMcOL5qZIo4DTW3Ry4jgShbnFpq7iEriuc4n">"http://localhost/bugzilla/rest.cgi/user/3?api_key=sHpZTMcOL5qZIo4DTW3Ry4jgShbnFpq7iEriuc4n"</a> 
        -d '{"<b>full_name</b>": "New Real Name"}'</div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px 40px; font-family: "Aptos Mono", Aptos_EmbeddedFont, Aptos_MSFontService, monospace; font-size: 10pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="text-align: left; text-indent: 0px; line-height: normal; margin: 0px 40px; font-family: "Aptos Mono", Aptos_EmbeddedFont, Aptos_MSFontService, monospace; font-size: 10pt; color: rgb(0, 0, 0);">
        {"message":"<b>The requested method
          'Bugzilla::User::set_keywords' was not found</b>.","error":true,"documentation":<a class="moz-txt-link-rfc2396E" href="https://bugzilla.readthedocs.org/en/5.0/api/">"https://bugzilla.readthedocs.org/en/5.0/api/"</a>,"code":67399}<b>%</b> </div>
      <div class="elementToProof"
style="margin-right: 40px; margin-left: 40px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        Also, the error message refers to 5.0 documentation but the API 
        /rest/version says it's 5.2+</div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
         <a class="moz-txt-link-freetext" href="https://bugzilla.XXXX/rest/version">https://bugzilla.XXXX/rest/version</a>  responds with:</div>
      <pre><div class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">{
   "<b>version" : "5.2+</b>"
}</div><div class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div><div class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">The api_key is for an admin user who is in the editusers group but it's just not working.</div><div
      class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">I thought that perhaps I could delete the user in mysql and recreate it with the change but I would be afraid that the user id for the new user would be incorrect and it could wreak havoc with anything that refers to the "old" user id.</div><div
      class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div><div class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Can you suggest a workaround?  Do I need to enable something for Update User to work?</div><div
      class="elementToProof"
style="text-align: left; text-indent: 0px; white-space: normal; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div></pre>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
support-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:support-list@bugzilla.org">support-list@bugzilla.org</a>
<a class="moz-txt-link-freetext" href="https://lists.bugzilla.org/listinfo/support-list">https://lists.bugzilla.org/listinfo/support-list</a>
</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <title></title>
    </div>
    <div class="moz-signature"
      signature-switch-id="b0b24bd1-735c-4a02-9f5d-e2b2e9b4f40d">
      <div>
        <table style="width: 300px; border-style: none;"
          cellpadding="3px" border="0px">
          <tbody>
            <tr>
              <td style="width: 106px;"><img alt="[Bugzilla Logo]"
                  src="cid:part1.pkOwlQpj.CcV1Jsyk@bugzilla.org"
                  width="100" height="100"></td>
              <td>
                <div><strong><span style="font-size: 13pt;">Dave Miller</span></strong></div>
                <div>Project Leader</div>
                <div><strong>Bugzilla Project</strong></div>
                <div><a href="https://bugzilla.org/"
rel="nofollow
                    noopener noreferrer" target="_blank"
                    class="moz-txt-link-freetext">https://bugzilla.org/</a></div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </div>
  </body>
</html>