v3/delegations

Request to revoke a delegation

Changed on
post/v3/delegations/revokeDelegation

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

accountIdstring required

AccountId in hex or SS58 format

providerIdstring required

MSA Id of the provider to whom the requesting user wishes to delegate

encodedExtrinsicstring required

Hex-encoded representation of the "revokeDelegation" extrinsic

payloadToSignstring required

payload to be signed

signaturestring required

signature of the owner

Example request

{
  "accountId": "1LSLqpLWXo7A7xuiRdu6AQPnBPNJHoQSu8DBsUYJgsNEJ4N",
  "providerId": "3",
  "encodedExtrinsic": "0x1234",
  "payloadToSign": "0x1234",
  "signature": "0x01065d733ca151c9e65b78f2ba77348224d31647e6913c44ad2765c6e8ba06f834dc21d8182447d01c30f84a41d90a8f2e58001d825c6f0d61b0afe89f984eec85"
}

Response

Created and queued request to revoke a delegation

statestring

Job state

referenceIdstring required

Example response

{
  "state": "waiting"
}

Changes