Skip to main content

Deactivate Account

This API can be used to deactivate an account using its metallic id. The API gives an option to disable login or backup or restore. At least one of the deactivation options must be set to true. The account deactivation process is asynchronous. The account status becomes deactivating when account deactivation process is initiated. Once deactivation is complete account status is deactivated.

Path Variables

FieldDescriptionTypeNotes
accountIdAccount metallic idUUID

Request Body

FieldDescriptionTypeRequiredNotes
disableLoginLogin disabled when set to trueBooleanFalse
disableBackupBackup disabled when set to trueBooleanFalse
disableRestoreRestore disabled when set to trueBooleanFalse

At least one of the disable options must be set to true.

Response Body

Same as 'Get Account by Id - Response Body (Account Object)'

Path Parameters
  • id string required
Request Body required
  • disableLogin boolean
  • disableBackup boolean
  • disableRestore boolean
Responses

OK


Schema
  • data object
  • id string
  • status string
  • insertTs string
  • updateTs string
  • externalId string
  • name string
  • website string
  • provisionCountry string
  • contacts object[]
  • type string
  • email string
  • firstName string
  • lastName string
  • phone string
  • address object
  • addressLine1 string
  • addressLine2 string
  • city string
  • state string
  • country string
  • postalCode string
  • type string
PUT /api/v1/partner/accounts/:id/deactivate    

Authorization

Request

Click Edit to configure Base URL
https://api.metallic.io
Bearer Token
id — path required
Body required
curl -L -X PUT 'https://api.metallic.io/api/v1/partner/accounts/:id/deactivate' \
-H 'Content-Type: text/plain' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw ''