Masterwachtwoorden
Scoped masterwachtwoorden maken, weergeven, hernoemen en verwijderen. De voorbeelden gebruiken de A2A-codemodus. MCP biedt dezelfde codemodus via het hulpmiddelexecute.
Functies
credentials.add
credentials.add.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | credential.manage | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | credential.manage |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | POST /v1/public/accounts/{account_id}/credentials |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
name | str | ja |
domain | str | null | nee |
generate | bool | nee |
value | str | null | nee |
workspace_id | str | null | nee |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
created_at | str | ja |
id | str | ja |
name | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
updated_at | str | ja |
generated_secret | str | null | nee |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
credentials.delete
credentials.delete.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | credential.manage | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | credential.manage |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | DELETE /v1/public/accounts/{account_id}/credentials/{credential_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
credential_id | str | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
result | {} | ja |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
credentials.list
credentials.list.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | credential.view | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | credential.view |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | GET /v1/public/accounts/{account_id}/credentials |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
page | int | nee |
page_size | int | nee |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
items | [{"created_at": str, "id": str, "name": str, "scope_id": str, "scope_type": "account" | "workspace" | "domain", "updated_at": str}] | ja |
page | int | ja |
page_size | int | ja |
total | int | ja |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons:
credentials.update
credentials.update.
| Eigenschap | Waarde | Eigenschap | Waarde |
|---|---|---|---|
| Vereiste machtiging | credential.manage | Authenticatie vereist | ja |
| Uitvoermodus | sync | Mogelijkheid | credential.manage |
| Resourcetype | account | Resource-ID-veld | account_id |
| Openbare API-route | PATCH /v1/public/accounts/{account_id}/credentials/{credential_id} |
Argumenten
Argumenten
| Naam | Type | Vereist |
|---|---|---|
account_id | str | ja |
credential_id | str | ja |
name | str | ja |
Retourneert
Retourneert
| Veld | Type | Vereist |
|---|---|---|
created_at | str | ja |
id | str | ja |
name | str | ja |
scope_id | str | ja |
scope_type | "account" | "workspace" | "domain" | ja |
updated_at | str | ja |
A2A-voorbeeld
A2A-voorbeeld
Aanvraag:Respons:
MCP-voorbeeld
MCP-voorbeeld
Aanvraag:Respons: