Update Account Endpoint Template
patch
{baseUrl}/v1/register/{accountWithErc5982UupsContractAddress}
Updates the registered account and ERC-5982 UUPS contract endpoint template.
Request
Path Parameters
-
accountWithErc5982UupsContractAddress(required): string
Path parameter
Supported Media Types
- application/json
Nested Schema : items
Type:
Show Source
object-
httpMethod(required): string
Example:
POST -
path(required): string
Example:
oldEndpoint
Nested Schema : items
Type:
Show Source
object-
args(required): array
args
-
contractMethod(required): object
contractMethod
-
httpMethod(required): string
Example:
POST -
path(required): string
Example:
initializeCBDCToken
Nested Schema : contractMethod
Type:
Show Source
object-
name(required): string
Example:
initializeCBDCToken -
signature(required): string
Example:
initializeCBDCToken((string,string,string,string,string,string,string[],uint8,(uint256,bool),(bool)))
Response
Supported Media Types
- application/json
200 Response
Contract template updated successfully.
Nested Schema : RegisteredSchema
Type:
Show Source
object-
combinedApis(required): array
combinedApis
-
contractAddress(required): string
Pattern:
^0x[a-fA-F0-9]{40}$ -
endpoints(required): array
endpoints
-
readConfigs(required): object
readConfigs
Additional Properties Allowed:
true -
writeConfigs(required): object
writeConfigs
Additional Properties Allowed:
true
Nested Schema : combinedApis
Type:
Show Source
array-
Array of:
object items
Additional Properties Allowed:
true
Nested Schema : endpoints
Type:
Show Source
array-
Array of:
object items
Additional Properties Allowed:
true
Nested Schema : readConfigs
Type:
objectAdditional Properties Allowed:
trueNested Schema : writeConfigs
Type:
objectAdditional Properties Allowed:
trueNested Schema : items
Type:
objectAdditional Properties Allowed:
trueNested Schema : items
Type:
objectAdditional Properties Allowed:
true400 Response
The wrapper rejected the request before it could complete a downstream call.
401 Response
A valid Bearer token with a supported user claim is required.
404 Response
The requested registered contract schema was not found.
415 Response
Content-Type must be application/json.
502 Response
The wrapper could not complete the downstream call.