Skip to main content
POST
/
v1
/
sso_device_grant
curl
curl -X POST https://my_sql_node.com/v1/sso_device_grant \
    -H "Content-Type: application/json" \
    -d '{
        "database": "retail_analytics"
    }'
{
  "verification_uri_complete": "https://auth.example.com/device?code=BCDFGHJK",
  "verification_uri": "https://auth.example.com/device",
  "user_code": "BCDFGHJK",
  "status": {
    "reason": "Device authorization initiated",
    "sql_state": "00000",
    "vendor_code": 0
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.ocient.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
database
string

Target database name. If you do not specify this parameter, the request defaults this value to system. This value represents the database where the user connects after completing the device grant process.

Response

200 - application/json

Response

verification_uri_complete
string
verification_uri
string
user_code
string
status
object
Last modified on May 20, 2026