cURL
curl --request PATCH \ --url https://grantex-auth-dd4mtrt2gq-uc.a.run.app/v1/agents/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "scopes": [ "<string>" ], "status": "active" } '
{ "agentId": "<string>", "did": "<string>", "developerId": "<string>", "name": "<string>", "description": "<string>", "scopes": [ "<string>" ], "status": "active", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Developer API key
Agent ID
active
suspended
Updated agent
revoked