Set remote target Skill desired absence

POST
/v1/skill/remote/publication/unpublish

Advance desired state without claiming that any remote directory has already been removed.

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/skill/remote/publication/unpublish" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "target_id": "string",    "artifact_id": "string",    "expected_generation": 0  }'
{  "scope_id": "string",  "target_id": "string",  "artifact_id": "string",  "desired_state": "published",  "desired_revision": 1,  "desired_tree_digest": "string",  "observed_revision": 1,  "observed_tree_digest": "string",  "observed_generation": 0,  "state": "unpublished",  "last_error_code": "string",  "observed_at": "2019-08-24T14:15:22Z",  "generation": 0}