Skip to main content
POST
/
v1
/
schemas
/
{schemaName}
/
validate-role
Validate schema IAM role
curl --request POST \
  --url https://api.dynamosql.com/v1/schemas/{schemaName}/validate-role \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "ok": true,
    "message": "Assume role succeeded. Verified describe/read access for 3 allowlisted table(s) in us-east-1."
  }
}
Required scope: schemas:write

Authorizations

Authorization
string
header
required

Bearer token obtained from POST /v1/auth/token. Pass in the Authorization header as Bearer <token>.

Path Parameters

schemaName
string
required

The schema name to validate.

Response

Validation complete. Check data.oktrue means the role and table access are correctly configured. false means validation failed; data.message contains details.

success
boolean
required

true when the request was processed without errors, false otherwise. Always present.

data
object
error
object

Present in the response body when success is false.