auth.v1.AuthService
AcceptTerms
Explicitly accept the terms that apply to the caller's root account. Requires an interactive JWT session; API keys are not allowed. Login, trading, reads, and use of existing resources remain available without acceptance. Acceptance is required before creating a subaccount, API key, or deposit address.
Method
POST
Path
auth.v1.AuthService/AcceptTerms
Service
auth.v1.AuthService
Visibility
Authentication
Session token
MFA Requirement
Not required
POST
auth.v1.AuthService/AcceptTerms Request
Testnet
curl --request POST \ \
--url 'https://api.testnet.polyester.com/auth.v1.AuthService/AcceptTerms' \
--header 'Content-Type: application/json' \
--header 'Connect-Protocol-Version: 1' \
--data '{}'Responses
{}Request
auth.v1.AcceptTermsRequestResponse
auth.v1.AcceptTermsResponseNo response fields documented for this type.
| Key | HTTP status | Connect code | Error | When |
|---|---|---|---|---|
| unauthenticated | 401 | unauthenticated | Unauthenticated | Authentication required. |
| permission-denied | 403 | permission_denied | Permission Denied | Permission denied. |
| invalid-argument | 400 | invalid_argument | Invalid Argument | Invalid argument. |
| not-found | 404 | not_found | Not Found | Not found. |
| unavailable | 503 | unavailable | Unavailable | Service unavailable. |