Skip to main content
POST
/
bind
/
remove
Request to remove bind of an address from a profile
curl --request POST \
  --url https://authapi.moralis.io/bind/remove \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "blockchainType": "evm",
  "address": "0x57af6B90c2237d2F888bf4CAe56f25FE1b14e531",
  "profileId": "0xbfbcfab169c67072ff418133124480fea02175f1402aaa497daa4fd09026b0e1",
  "publicKey": "0xfb2853744bb8afd58d9386d1856afd8e08de135019961dfa3a10d8c9bf83b99d"
}
'
{
  "message": "Please sign this message to unbind:\nAddress: 0x6ed338bcB610640e81465FCfb9894DDfA354Cc91\nfrom\nProfile Id:\n- 0x0b2bbac1251651c0cbbdbbb29fed5a03adc8b05a2a9eb10a02aaa489b9c1f8ff\nNonce: 5pXWu7aGkY2J7II0X"
}

Authorizations

X-API-Key
string
header
required

Body

application/json

The address that is required to be removed from the bind of the profileId.

blockchainType
enum<string>
required

The chain in which the address belongs to

Available options:
evm,
solana,
aptos
Example:

"evm"

address
string
required

Address performing the signing conformant to capitalization encoded checksum specified in EIP-55 where applicable.

Example:

"0x57af6B90c2237d2F888bf4CAe56f25FE1b14e531"

profileId
string
required

Unique identifier with a length of 66 characters

Example:

"0xbfbcfab169c67072ff418133124480fea02175f1402aaa497daa4fd09026b0e1"

publicKey
string

Public key performing the signing conformant. (This is only needed for Aptos address)

Example:

"0xfb2853744bb8afd58d9386d1856afd8e08de135019961dfa3a10d8c9bf83b99d"

Response

201 - application/json

The messages that is required to be signed by each of the address

message
string
required

Message that needs to be signed by the end user

Example:

"Please sign this message to unbind:\nAddress: 0x6ed338bcB610640e81465FCfb9894DDfA354Cc91\nfrom\nProfile Id:\n- 0x0b2bbac1251651c0cbbdbbb29fed5a03adc8b05a2a9eb10a02aaa489b9c1f8ff\nNonce: 5pXWu7aGkY2J7II0X"