1.3.3 Deleting the repository for registering YAML files (manifest.yaml)
If you want to modify the repository you have created, you will need to delete it and re-create a new one.
Creating repositories is performed in Ops I Repository Management. For details, see “Functions > System > Repository management” in “JP1 Cloud Service/Operations Integration User’s Guide”.
(1) Obtaining a list of repositories
Check the ID of the repository you created. An example of API execution is shown below.
Query parameters can be used to narrow down the search.
Example of narrowing query parameters: GET /api/v1/repositories?search=test%20repo
Note that this ID is not in UUID format, but is the repository ID on GitLab.
<Example> /api/v1/repositories
# curl -XGET "Ops I URL/api/v1/repositories" ¥
-H "X-OpsI-Token: Ops I token"
Deletes the repository specified by the obtained repository ID. An example of API execution is shown below.
<Example> /api/v1/repositories/{id}
# curl -XDELETE "Ops I URL/api/v1/repositories/Repository ID" ¥
-H "X-OpsI-Token: Ops I token"