How do I create Spaces on Axon Cloud from my CI/CD pipeline? I had a look at the swagger definition but could not use it even with my personal token provided as a bearer token.
Found it!
- Create a token from the console
- Ask for a bearer token with the personal token:
GET https://console.cloud.axoniq.io/api/public/auth/pat/exchange?email=email&pat=personal token - Use the returned token from the previous call:
POST https://console.cloud.axoniq.io/api/space
{ “name”: “name of the space” }
Authorization: Bearer token
Hi @frederic.gendebien, glad you found it!
Other than that, I would like to add the axon-cloud-cli which can pretty sure can be used on your pipeline as well!
KR,