Skip to main content
PUT
Update a source mode
Control whether a yield source may receive subscriptions, service redemptions, do both, or remain disabled.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required

Reuse when retrying the identical request.

Required string length: 1 - 200

Path Parameters

vaultId
string<uuid>
required
Pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89aAbB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
Example:

"8f4c52d7-62ab-4db9-a964-92f481f6b851"

sourceId
string
required
Pattern: ^0x[0-9a-fA-F]{64}$
Example:

"0x1111111111111111111111111111111111111111111111111111111111111111"

Body

application/json
mode
enum<string>
required
Available options:
active,
subscription_only,
redemption_only,
disabled

Response

The operation was accepted.

task
object
required
Example: