ZITADEL Docs
APIsCore ResourcesV2Action

GetTarget

Get Target

Returns the target identified by the requested ID.

Required permission:

  • action.target.read
GET
/v2/actions/targets/{id}

Path Parameters

id*string

The unique identifier of the target to retrieve.

Response Body

application/json

application/json

curl -X GET "https://loading/v2/actions/targets/string"
{
  "target": {
    "id": "string",
    "creationDate": "1s",
    "changeDate": "1s",
    "name": "string",
    "timeout": "string",
    "endpoint": "string",
    "signingKey": "string",
    "payloadType": "PAYLOAD_TYPE_UNSPECIFIED",
    "restAsync": {}
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?