Skip to main content

ApiKeyScopeInput

A requested per-network scope on a new key: a network id and the role to grant there. The role must be read_only or administrator (use the super_user flag, not a scope role, for cross-network access) and must be a subset of what the calling key already holds on that network.

network_idstringnullable

The network this scope grants access to

Example: 7Hb2Kp9QvL3mNx0R8tZ4
rolestringnullable

The role to grant on this network; must be a subset of the caller's own role there

Possible values: [read_only, administrator]

Example: read_only
ApiKeyScopeInput
{
"network_id": "7Hb2Kp9QvL3mNx0R8tZ4",
"role": "read_only"
}