API Authentication
Coming Soon
API authentication is under development.
Overview
The PatchCTL API will use token-based authentication.
Getting an API Token
- Go to Settings → API
- Click Generate Token
- Name your token
- Select scopes
- Copy and save the token
Save Your Token
Tokens are only shown once. Store securely.
Using Your Token
Include the token in the Authorization header:
curl -H "Authorization: Bearer YOUR_API_TOKEN" \
https://api.patchctl.com/v1/servers
Token Scopes
| Scope | Access |
|---|---|
read:servers | View server data |
write:servers | Modify servers |
read:patches | View patch data |
write:patches | Execute patches |
read:schedules | View schedules |
write:schedules | Manage schedules |
Token Management
- Tokens don't expire by default
- Revoke tokens anytime in Settings
- Use different tokens for different integrations
- Audit token usage in logs