Grant a role on a space or database (upserts per scope)
POST
/api/v1/workspaces/{ws}/grants
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
user_id
required
string
space_id
string format: uuid
database_id
string format: uuid
role
required
string