Rename a remote Agent Skill target

POST
/v1/skill/remote/target/rename

Change the human-readable target name with target generation CAS while retaining its durable identity.

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/target/rename" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "target_id": "string",    "display_name": "string",    "expected_generation": 0  }'
{  "scope_id": "string",  "target_id": "string",  "display_name": "string",  "agent_kind": "codex",  "installation_scope": "project",  "delivery_mode": "agent_pull",  "installation_id": "string",  "state": "pending",  "receiver_version": "string",  "environment_fingerprint": "string",  "machine_hostname": "string",  "workspace_name": "string",  "last_seen_at": "2019-08-24T14:15:22Z",  "generation": 0}