⌘K
PATCH /accounts/me
Updates the authenticated account's name, email, or delivery settings.
Base URL: https://api.geocerta.io
Sandbox URL: https://api-staging.geocerta.io
Authentication required. Include your API key in the
api-keyheader. See Authentication.
Endpoint
PATCH /accounts/me
Content-Type: application/json
Request Body
All fields are optional. Only include the fields you want to update.
| Field | Type | Description |
|---|---|---|
name | string | Account display name (3–100 characters) |
email | string | Account email address |
delivery.method | string | Delivery method: email, webhook, xml, or manual |
delivery.email | string | Email address to deliver reports to |
delivery.endpoint | string | Webhook URL for report delivery |
delivery.key | string | Signing key for webhook requests (min 6 characters) |
Response
200 OK — returns the updated account.
Errors
| Status | Message | Cause |
|---|---|---|
400 | Bad Request | Validation failed |
401 | Unauthorized | Missing or invalid API key |
403 | Forbidden | API key does not belong to this account |
404 | Account not found | Account does not exist |
Example
curl -X PATCH "https://api.geocerta.io/accounts/me" \
-H "api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"delivery": {
"method": "email",
"email": "reports@acme.example.com"
}
}'