API Reference
Configurations

Update a flag

PUT/configurations/api/v1/flags/{id}
Base URL: https://pay4fun.mimicr.dev · provider: https://go.dev.pay4fun.com

Sets your value for a flag.

Authorization

Bearer token in the Authorization: Bearer <token> header. See Authentication.

Path parameters

idstring<uuid>required

Flag GUID, from the list.

Body

application/json
valueboolean | nullrequired

New value; null goes back to the default.

Example: false

Responses

200Changed, no body.
400Invalid value.
successbooleanrequired

Always false on errors.

Example: false
codeintegerrequired

5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).

Example: 5001
messagestringrequired

Error message.

Example: "Deposit intent not found."
401Missing, expired or invalid token. Empty body.
404Flag not found.
successbooleanrequired

Always false on errors.

Example: false
codeintegerrequired

5001 resource not found, 2001 unprocessable input, 1001 validation error (in Mimicr), 4009 key already registered (in Mimicr).

Example: 5001
messagestringrequired

Error message.

Example: "Deposit intent not found."