Update a schema’s connection details, table allowlist, or status.
schemas:writeBearer token obtained from POST /v1/auth/token. Pass in the Authorization header as Bearer <token>.
The schema name to update.
All fields are optional; include only what you want to change. At least one field must be provided.
New AWS region for DynamoDB access.
"eu-west-1"
New AWS account ID.
"999888777666"
New IAM role ARN to assume.
"arn:aws:iam::999888777666:role/DynamoSQLReadRole"
New external ID for sts:AssumeRole.
"dsql-ext-newvalue"
Replace the table allowlist. Pass an empty array [] to remove the allowlist restriction. Pass ["*"] for explicit wildcard. Pass table names for explicit access.
["Users", "Orders", "Products"]Set to disabled to suspend the schema without deleting it. Set to active to re-enable. Re-enabling triggers a background metadata refresh.
active, disabled "active"
Schema updated.
true when the request was processed without errors, false otherwise. Always present.
A DynamoSQL schema record. A schema connects a logical name to the IAM role and AWS region DynamoSQL uses to access DynamoDB on your behalf via cross-account role assumption.
Present in the response body when success is false.