Manage Resources
    • PDF

    Manage Resources

    • PDF

    Article Summary

    1. Get IDs of all Container Resources

    This GET method returns all the IDs of all container resources.

    Note: To execute this API, the user should have permission assigned (through policy) with action as sm.node.list.


    GET{{url}}/api/v1/secretmanager/resourceContainers?path=<path>

    Request Parameter

    The request parameter used in this method is shown in the following table:

    ParameterDescriptionData TypeRequired

    path

    Specifies the path to get the list of all IDs of all container resources.

    String

    Optional

    Request Example

    curl -X GET ‘{{url}}/api/v1/secretmanager/resourceContainers?path=<path>' ’ -H 'Authorization: Bearer <token>'

    Response Example

    Status:200 Ok
    {
        "*": "*",
        "39befd1a-a6ff-42ba-a5b6-30431d59afb9": "/",
        "39befd1a-a6ff-42ba-a5b6-30431d59afb9/*": "/*"
    }

    Was this article helpful?

    What's Next