Skip to main content
Announcements
See why Qlik was named a Leader in the 2024 Gartner® Magic Quadrant™ for Data Integration Tools for the ninth year in a row: Get the report
cancel
Showing results for 
Search instead for 
Did you mean: 
thomasmaure
Luminary Alumni
Luminary Alumni

Qlik Saas - Qlik-cli tenant deactivate returning "Precondition failed" error

Hello, 

We are in Qlik SAAS in an OEM context and I need to create/delete customer tenants on request . 
I am using qlik-cli to manage my tenants and resources but when trying to use the 'deactivate' command to delete a tenant, I am receiving a "Precondition failed" error in return . 

I am using the register.de.qlikcloud.com tenant as indicated by the doc and the same context I used for the create tenant. 

Below is the sequence I use 

thomasmaure_0-1729857341941.png

It would be very helpful if you could indicqte why this is not working.  

Thanks 

 

Labels (1)
  • SaaS

1 Solution

Accepted Solutions
DaveChannon
Employee
Employee

Hi @thomasmaure hopefully you solved this!

The solution is to add a header which appears to be missing from the documentation for this call in the tool and on qlik.dev.

The correct call should look like: 

qlik tenant deactivate NvFfzwUzaRvzVu0QgRGrk_dcCFsmh2kh --headers qlik-confirm-hostname=fbq0vppsz3j1yrn.eu.qlikcloud.com

I'll ask the team to take a look at the docs.

View solution in original post

2 Replies
DaveChannon
Employee
Employee

Hi @thomasmaure hopefully you solved this!

The solution is to add a header which appears to be missing from the documentation for this call in the tool and on qlik.dev.

The correct call should look like: 

qlik tenant deactivate NvFfzwUzaRvzVu0QgRGrk_dcCFsmh2kh --headers qlik-confirm-hostname=fbq0vppsz3j1yrn.eu.qlikcloud.com

I'll ask the team to take a look at the docs.

thomasmaure
Luminary Alumni
Luminary Alumni
Author

Thanks Dave, with this additional header it is working fine.