Skip to main content
PUT
Set a group's credit limit

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Headers

x-magnific-team-id
string<uuid>

Personal token only: the team the call acts on (its UUID). The caller must be an active member of it. Without it, the team in the token is used; with neither, the call is team_required (400). Ignored for an API key, which always acts on its own team.

Path Parameters

group_id
integer<int64>
required

A group of your team, as GET /team/groups lists it.

Required range: x >= 1

Body

application/json
credit_limit
object
required

A credit limit. The same object is sent to set it and comes back after setting it.

Example:
propagate
boolean
default:false

Also apply the limit to the group's members.

Response

The credit limit applied.

data
object
required
Example: