How to delete a service instance

You can delete a repository in multiple ways:

Using the Cockpit Portal

@todo

Using the Cockpit API

In order to use the Cockpit API you first need to obtain an JWT, as documented in the section about how to get a JWT.

Once you got the JWT:

curl -X DELETE
     -H "Authorization: bearer JWT"  /
     -H "Content-Type: application/json" /
     -d '{"name":"test-repo"}'
     https://BASE_URL/api/ays/repository/{repository}/service/{role}/{instance}

In the API Console:

For more information about the API Console go to the section about the API Console.

At the CLI

@todo

results matching ""

    No results matching ""