Rivier/ Reference/ connectors

Change a service's autonomy

patch/workspace/grants/{service}

Before you call

Credential
Authorization: Bearer $KEY
Scope
connectors:admin
Graphql
Mutation.connectorsGrantUpdate
Sdk
connectors.grant.update
Cli
connectors grant update

Parameters

  • servicestringrequired
    In the path

Request bodyapplication/json, required

  • modestring
    One of: off, watch, ask, auto.
  • dailyCapinteger or null
  • valueCapCentsinteger or null
  • confidenceFloorinteger or null
  • connectionIdstring (uuid) or null

Responses

  • 200application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown