ZITADEL Docs
APIsCore ResourcesV2Action

Create Target

Create a new target to your endpoint, which can be used in executions.

Required permission:

  • action.target.write
POST
/v2/actions/targets

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" \  -H "Content-Type: application/json" \  -d '{    "restAsync": {}  }'
{
  "id": "string",
  "creationDate": "2023-01-15T01:30:15.01Z",
  "signingKey": "string"
}

Was this page helpful?