Codevisor Docs
Api reference

POST Plugins ServerId Accounts

POST/v1/plugins/{serverId}/accounts

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

serverId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

id?string|null
label?string|null
values*

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/plugins/string/accounts" \  -H "Content-Type: application/json" \  -d '{    "values": {}  }'
{  "id": "string",  "plugin": "string",  "label": "string",  "identity": "string",  "method": "oauth2",  "values": {    "property1": "string",    "property2": "string"  },  "secretsSet": [    "string"  ],  "scopes": [    "string"  ],  "status": "ok",  "createdAt": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}