ZITADEL Docs
APIsCore ResourcesV2Action

List targets

List all matching targets. By default all targets of the instance are returned. Make sure to include a limit and sorting for pagination.

Required permission:

  • action.target.read
POST
/v2/actions/targets/search

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/v2/actions/targets/search" \  -H "Content-Type: application/json" \  -d '{}'
{
  "pagination": {
    "totalResult": 0,
    "appliedLimit": 0
  },
  "targets": [
    {
      "id": "string",
      "creationDate": "2023-01-15T01:30:15.01Z",
      "changeDate": "2023-01-15T01:30:15.01Z",
      "name": "string",
      "timeout": "string",
      "endpoint": "string",
      "signingKey": "string",
      "payloadType": "PAYLOAD_TYPE_UNSPECIFIED",
      "restAsync": {}
    }
  ]
}

Was this page helpful?