Skip to content
API referencePlatformMembers

Update_member_billing_scope

PATCH
/platform/v1/projects/{project_id}/members/{user_id}/billing-scope

Authorization

bearer_auth
AuthorizationBearer <token>

In: header

Path Parameters

project_id*string
Formatuuid
user_id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/platform/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/497f6eca-6276-4993-bfeb-53cbbbba6f08/billing-scope" \  -H "Content-Type: application/json" \  -d '{    "billing_scope": "owner"  }'
{  "billing_scope": "owner",  "member_id": "435a4844-006a-4cfc-a644-e8eb2dd2ca43",  "role": "owner",  "user_email": "string",  "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"}
{  "detail": "Pool slug must be unique.",  "instance": "urn:forestvpn:trace:a1b2c3d4",  "title": "Validation Error",  "type": "https://fvpn.net/errors/validation"}
{  "detail": "Pool slug must be unique.",  "instance": "urn:forestvpn:trace:a1b2c3d4",  "title": "Validation Error",  "type": "https://fvpn.net/errors/validation"}