Agent SwarmAgent Swarm

OAuth

OAuth API endpoints

DELETE
/api/oauth/refresh-locks/{key}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

key*string
Match^[a-zA-Z0-9._:-]{1,200}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X DELETE "http://localhost:3013/api/oauth/refresh-locks/string" \  -H "Content-Type: application/json" \  -d '{    "owner": "string"  }'
Empty
Empty
POST
/api/oauth/refresh-locks/{key}

Authorization

bearerAuth
AuthorizationBearer <token>

API key via Authorization: Bearer <API_KEY>

In: header

Path Parameters

key*string
Match^[a-zA-Z0-9._:-]{1,200}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "http://localhost:3013/api/oauth/refresh-locks/string" \  -H "Content-Type: application/json" \  -d '{    "ttlMs": 300000  }'
Empty
Empty
Empty