Skip to content
MyStocks Developers
API v1

API v1

Current stable contract

Versioning policyRelease changelog
Sandbox console

Sandbox key-revocation alias (unsupported)

Developer Platform, Sandbox & Key Management

DELETE

/api-keys/revoke

Sandbox key-revocation alias (unsupported)

Sandbox unsupportedDeprecateddeleteSandboxKeyRevokeAlias

This DELETE alias always rejects revocation with HTTP 422 after authenticating the sandbox key. Sandbox keys must be managed through the partner portal. POST /api-keys/revoke is the documented production operation.

Parameters

This endpoint has no path or query parameters.

Headers

AuthorizationstringRequired

Bearer sk_sandbox_<your_key> for sandbox requests.

Response fields

See the response format and API Reference for this endpoint.

Response codes

401Invalid sandbox key.
422API key revocation is not available in sandbox.