Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

API Status Client Less Users Does Not Modify

API Status Client Less Users Does Not Modify

Hello guys.

I hope everyone is well.

I'm using the API to create a range of Client Less Users.

After creating the addresses, I need to change the object's status from inactive to active.

Looking at the documentation:
docs.sophos.com/.../index.html

Would need to run with update or edit to change the status.
I run it returns status 200 (success), but the field is not modified. Remains Inactive.

Does anyone have any tips?

Thank you very much in advance..



This thread was automatically locked due to age.
Parents
  • I am adding the API structure, for identification and for you to understand that it is very simple.

    Any change works, like email, QOS... only the status doesn't change from inactive to active.

        <Request>
        <Login>
          <UserName>"user here"</UserName>
          <Password>"Password here"</Password>
        </Login>
        <set operation="update">    
            <ClientlessUser>
                <UserName>192.168.14.51</UserName>
                <IPAddress>192.168.14.51</IPAddress>
                <ClientLessGroup>ClientlessGuest</ClientLessGroup>
                <Name>192.168.14.51</Name>
                <Email>noreply@email.com</Email>
                <QuarantineDigest>Disable</QuarantineDigest>
                <QoSPolicy>qos_clientless</QoSPolicy>
                <Status>Active</Status>
            </ClientlessUser>
        </set>
        </Request>

Reply
  • I am adding the API structure, for identification and for you to understand that it is very simple.

    Any change works, like email, QOS... only the status doesn't change from inactive to active.

        <Request>
        <Login>
          <UserName>"user here"</UserName>
          <Password>"Password here"</Password>
        </Login>
        <set operation="update">    
            <ClientlessUser>
                <UserName>192.168.14.51</UserName>
                <IPAddress>192.168.14.51</IPAddress>
                <ClientLessGroup>ClientlessGuest</ClientLessGroup>
                <Name>192.168.14.51</Name>
                <Email>noreply@email.com</Email>
                <QuarantineDigest>Disable</QuarantineDigest>
                <QoSPolicy>qos_clientless</QoSPolicy>
                <Status>Active</Status>
            </ClientlessUser>
        </set>
        </Request>

Children
No Data