Forum Discussion
6 Replies
Sort By
- Lee_SutcliffeNacreous
I can't see any attachment, please could you describe the error you are experiencing.
- Maneesh_72711Cirrostratus
- Maneesh_72711Cirrostratus
Not sure where the attachment got lot have reposted the same Lee.
- Lee_SutcliffeNacreous
How are you providing authorisation?
Can you try the following (replace admin admin with your credentials)
curl -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{ "username":"admin", "password":"admin", "loginProviderName": "tmos" }' "https://your-bigip.com/mgmt/shared/authn/login"
- Maneesh_72711Cirrostratus
Making this api call..
and access is controlled via cyberark for which a user has been already provisioned via AD.
- Lee_SutcliffeNacreous
If you haven't already authorised, you'll need to obtain the auth token and use the token in the X-F5-Auth-Token header in all subsequent requests. You could also use HTTP Basic auth an include the username and password in each requsts, but this isn't recommented
cURL example using X-F5-Auth-Token
curl -X GET -H "Content-Type: application/json" -H "X-F5-Auth-Token: QWERTYUIOPASDFGHJKL" -H "Cache-Control: no-cache" "https://f5-ip-address/mgmt/tm/sys/connection?options=all-properties&ver=13.1.0.4"