skills/update-api-key/SKILL.md
# Update API Key Update the name or status of an existing API key. Can be used to activate or deactivate a key. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/api_keys/{api_key_id}` - **Operation ID**: `updateApiKey` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/api_keys/{api_key_id}` ## Requ
npx skillsauth add naftiko/anthropic-sandbox skills/update-api-keyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Update the name or status of an existing API key. Can be used to activate or deactivate a key.
/organizations/api_keys/{api_key_id}updateApiKeyMock server URL: http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/api_keys/{api_key_id}
anthropic-version: 2023-06-01x-api-key: {admin-api-key}Content-Type: application/json| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| api_key_id | string | Yes | Unique identifier of the API key to update |
{
"name": "Updated Key Name",
"status": "inactive"
}
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| name | string | No | New name for the API key |
| status | string | No | New status (active or inactive) |
curl -X POST "http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/api_keys/apikey_01SomeApiKeyId" \
-H "anthropic-version: 2023-06-01" \
-H "x-api-key: your-admin-api-key" \
-H "Content-Type: application/json" \
-d '{"name": "Updated Key Name", "status": "inactive"}'
{
"id": "apikey_01SomeApiKeyId",
"type": "api_key",
"name": "Updated Key Name",
"status": "inactive",
"workspace_id": "wrkspc_01SomeWorkspaceId",
"created_at": "2024-01-15T10:00:00Z",
"last_used_at": "2024-11-07T05:31:56Z"
}
When the user asks to update, rename, activate, or deactivate an API key, use this operation by making a POST request to /organizations/api_keys/{api_key_id} with the fields to update.
development
# Update Workspace Update the name or display color of an existing workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}` - **Operation ID**: `updateWorkspace` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspace_id}` ## Required Headers - `anthro
development
# Update Workspace Member Update the workspace role of a specific member within a workspace. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/workspaces/{workspace_id}/members/{user_id}` - **Operation ID**: `updateWorkspaceMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/workspaces/{workspa
development
# Update Organization Member Update the role or other attributes of a specific user within the organization. ## API Details - **API**: Anthropic Administrative API - **Method**: POST - **Path**: `/organizations/users/{user_id}` - **Operation ID**: `updateOrganizationMember` - **OpenAPI**: [anthropic-admin-api-openapi.yml](../../openapi/anthropic-admin-api-openapi.yml) ## Sandbox Mock server URL: `http://localhost:8080/rest/anthropic-admin-api/1.0.0/organizations/users/{user_id}` ## Require
tools
# Templatize A Prompt Convert a prompt with specific values into a reusable template by identifying and extracting variables. Concrete values are replaced with uppercase variable placeholders. Part of the closed research preview Prompt Tools API. ## API Details - **API**: Anthropic Prompt Tools API - **Method**: POST - **Path**: `/v1/experimental/templatize_prompt` - **Operation ID**: `templatizePrompt` - **OpenAPI**: [anthropic-prompts-api-openapi.yml](../../openapi/anthropic-prompts-api-ope