Table 5.19. Delete metadata object or directory
Method | URI | Description |
---|---|---|
DELETE | /admin/<object_type>/<full_path_to_object> | Deletes a metadata object or a directory. Directory should be empty to be deleted |
Table 5.20. Parameters
Parameter | Description | Required |
---|---|---|
object_type | Identifies the type of the new metadata object. May be one of the following: workflow, scripts, ui, agent, heat, manifests.” typed cannot be specified, as subdirectories for the service manifests cannot be created | true |
full_path_to_object | Specifies the full path a file or a directory . | true |
Table 5.21. Error Response Codes
Code | Description |
---|---|
401 | User is not authorized to access this tenant resources |
404 | The object_type is unknown or the full_path_to_object is set to an non-existing directory or object |
403 | The object specified by full_path_to_object is a not empty directory |
Payload
File or directory with the given name permanently deletes from Murano Metadata Repository Server
Returns
In case of successful result this call returns a json:
{"result": "success"}