cURL
curl --request GET \ --url https://api.opal.dev/v1/resources/{resource_id}/tags \ --header 'Authorization: Bearer <token>'
{ "results": [ { "tag_id": "f290a738-5f9f-43c2-ad67-fa31ff0eb946", "created_at": "2022-01-23T04:56:07.000Z", "updated_at": "2022-02-23T01:34:07.000Z", "user_creator_id": "d4a7d928-783e-4599-8ec6-088d635a5bcc", "admin_owner_id": "bfb518b1-3f5b-4e3b-8eb8-3b3fabd4ea2b", "key": "database-name", "value": "redis_db" }, { "tag_id": "92f0a738-5f9f-43c2-ad67-fa31ff0eb052", "created_at": "2022-03-23T04:56:07.000Z", "updated_at": "2022-04-23T01:34:07.000Z", "user_creator_id": "a4d7d928-783e-4599-8ec6-088d635af4ac", "admin_owner_id": "gtg418b1-3f5b-4e3b-8eb8-3b3fabd4eaa1", "key": "database-type", "value": "sql" } ] }
Returns all tags applied to the resource.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the resource whose tags to return.
The tags applied to the resource.
Show child attributes
Was this page helpful?