Hướng dẫn AgentFlow

withdraw_app_catalog_version

POST/app-catalog/withdrawals
AuthorizationBearer <token>

A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.

In: header

Request Body

application/json

The version and the reason

TypeScript Definitions

Use the request body type in TypeScript.

The version to withdraw and why.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/app-catalog/withdrawals" \  -H "Content-Type: application/json" \  -d '{    "package_id": "string",    "reason": "string",    "version": "string"  }'
{  "entry": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "package_id": "string",    "state": "string",    "version": "string"  }}