Giter VIP home page Giter VIP logo

Comments (2)

brysontyrrell avatar brysontyrrell commented on June 18, 2024

@jausmus-wayspring You need to instantiate the command object you're passing. Can you try:

logout_user = client.pro_api.send_mdm_command_preview(
    management_ids=["<ID>"],
    command=LogOutUserCommand()
)

Few things I will start on related to this issue:

  • The Pro API user guide needs a section on MDM commands with use cases/examples.
  • The send_mdm_command_preview method needs example usage in the doc string. This is something that is going to be added across all API methods.
  • The LogOutUserCommand model is missing from the Pro models doc page. I'll add it back in, and the models will include example usage like the API methods.

from jamf-pro-sdk-python.

jausmus-wayspring avatar jausmus-wayspring commented on June 18, 2024

Thanks @brysontyrrell, instantiating it resolved the issue.

from jamf-pro-sdk-python.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.