latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

credentials

Lists all credentials of the specified workspace (and component, if it is defined)

get/credentials

Query parameters

workspace_idstring required

Workspace identifier

filter[component]string

Only credentials belong to the specified component

Response

OK

metaobject required

Example response

{
  "data": [
    {
      "id": "5b4f337bff4304610483ba67",
      "links": {
        "self": "/v2/credentials/5b4f337bff4304610483ba67"
      },
      "attributes": {
        "name": "Credential name"
      },
      "relationships": {
        "component": {
          "data": {
            "id": "5b4f337bff4304610483ba67"
          },
          "links": {
            "self": "/v2/components/5b4f337bff4304610483ba67"
          }
        },
        "workspace": {
          "data": {
            "id": "5b4f337bff4304610483ba67"
          },
          "links": {
            "self": "/v2/workspaces/5b4f337bff4304610483ba67"
          }
        },
        "vpn_agent": {
          "data": {
            "id": "5b4f337bff4304610483ba67"
          },
          "links": {
            "self": "/v2/vpn_agents/5b4f337bff4304610483ba67"
          }
        },
        "user": {
          "data": {
            "id": "5b4f337bff4304610483ba67"
          },
          "links": {
            "self": "/v2/users/5b4f337bff4304610483ba67"
          }
        }
      }
    }
  ]
}