remove_redirect_uri
Delete a login callback URL from an environment's allowed redirect list. Use it to revoke an OAuth callback that should no longer receive authorization responses.
Instructions
Remove one login callback URL from an environment. Use remove_post_logout_redirect_uri to remove a post-logout URL. Use list_redirect_uris to read the current list. Requires the caller OAuth token. This deletes that URL from the allowed list.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"environmentId": "<environmentId>",
"uri": "<uri>"
},
"name": "remove_redirect_uri"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Login callback URL to remove from the allowed redirect list. | |
| environmentId | Yes | Scalekit environment id. Format: env_<id>. |