Yes you can refer the sex mailing list ... But what error in api call request are you facing?
On Wed, Sep 15, 2021, 11:33 PM Dick Visser <[email protected]> wrote: > I have no idea, but this is the ansible mailing list. > You will probably get a better response on the dedicated awx list: > https://groups.google.com/g/awx-project > > On Wed, 15 Sept 2021 at 18:22, vivek kumar <[email protected]> wrote: > > > > Hi, > > > > I am trying to make an API call using curl command from my unix box to > create template job in Ansible tower with my login credentials. I am > getting error "You do not have permission to perform this action". > > > > However I am able to perform other POST actions like creating inventory, > adding host to inventory and other GET api calls. > > > > Below my code snippet > > > > curl -k -s -u $CREDENTIAL -X POST -H "Content-Type: application/json" \ > > "https://{tower-url}/api/v2/organizations/{id}/job_templates/" > \ > > -- data '{ > > "name": "" > > "job_type": "" > > "inventory": "" > > "project": "" > > "playbook": "" > > "verbosity": "" > > }' > > > > I am not able to see any examples in google for creating a job template, > but in the below ansible site APIs are present, > https://docs.ansible.com/ansible-tower/latest/html/towerapi/api_ref.html#/ > > > > Is it possible to create job template via API? > > > > -- > > You received this message because you are subscribed to the Google > Groups "Ansible Project" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/926b3aa1-a3c8-4535-a3f2-6701ac9fea1dn%40googlegroups.com > . > > > > -- > Dick Visser > Trust & Identity Service Operations Manager > GÉANT > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CAL8fbwM2SXL4EindZKnsACg3HZGViVo9sd6_AwuFTFyyfao5Qw%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CALJDb0mKJrobLoTQkhHBvP6y6HnjSKDDT7%3DKT6Z50VBvBWjx9A%40mail.gmail.com.
