POST
/
admin
/
api
/
v1
/
users
/
{address}
/
code
cURL
curl --request POST \
  --url https://merits.blockscout.com/admin/api/v1/users/{address}/code \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "old_code": "<string>",
  "new_code": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Authentication token, prefixed by Bearer: Bearer <token>

Path Parameters

address
string
required

Body

application/json

Response

200
application/json

A successful response.

The response is of type object.