Update account status

Updates the account status.

PUT/v3/accounts/{id}/status
JWT
account:write

Parameters

NameTypeInDescription
id*stringpathUnique identifier for the account.

Request Body Schema

PropertyTypeDescriptionConstraints
status*stringStatus of the account.enum: [active, inactive]

Request Example

{
  "status": "active"
}
Triggers webhook: account.updated
POST <your-webhook-url>
{
  "event": "account.updated",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "company": "string",
    "email": "string",
    "status": "active",
    "adminPortalDomain": "string",
    "customerPortalDomain": "string",
    "resellerPortalDomain": "string",
    "website": "string",
    "logoUrl": "string",
    "faviconUrl": "string",
    "googleClientId": "string",
    "trialExpiresAt": "2019-08-24T14:15:22Z",
    "plan": {
      "id": "string",
      "name": "string",
      "displayName": "string",
      "version": 0,
      "tier": 0,
      "interval": "string",
      "paddleId": "string",
      "paddlePriceId": "string",
      "allowedUsers": 0,
      "allowedOrganizations": 0,
      "allowedAdmins": 0,
      "allowedProducts": 0,
      "allowedMeterAttributes": 0,
      "allowedFeatureFlags": 0,
      "allowedFeatures": 0,
      "allowedActivations": 0,
      "allowedTrialActivations": 0,
      "allowedReleases": 0,
      "allowedProductSpace": 0,
      "allowSendingDomain": true,
      "amount": "string",
      "allowCustomerPortalAccess": true,
      "allowOrganizationAdmins": true,
      "allowOfflineActivations": true,
      "allowHostedFloatingLicenses": true,
      "allowOnPremiseFloatingLicenses": true,
      "allowCustomDomain": true,
      "allowResellers": true,
      "allowSso": true,
      "allowCustomRoles": true,
      "allowLegacyCustomRoles": true,
      "allowEventLogs": true,
      "allowAuditLogs": true,
      "allowCustomEmailTemplates": true,
      "allowMaintenancePolicies": true,
      "allowActivationLogs": true,
      "activationLogsRetentionPeriod": "string",
      "deprecated": true,
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    },
    "companyId": "string",
    "accountAlias": "string",
    "region": "string",
    "paymentMethod": "string",
    "psp": "string",
    "totalTrialExtensions": 0
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "id": "string",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "company": "string",
  "email": "string",
  "status": "active",
  "adminPortalDomain": "string",
  "customerPortalDomain": "string",
  "resellerPortalDomain": "string",
  "website": "string",
  "logoUrl": "string",
  "faviconUrl": "string",
  "googleClientId": "string",
  "trialExpiresAt": "2019-08-24T14:15:22Z",
  "plan": {
    "id": "string",
    "name": "string",
    "displayName": "string",
    "version": 0,
    "tier": 0,
    "interval": "string",
    "paddleId": "string",
    "paddlePriceId": "string",
    "allowedUsers": 0,
    "allowedOrganizations": 0,
    "allowedAdmins": 0,
    "allowedProducts": 0,
    "allowedMeterAttributes": 0,
    "allowedFeatureFlags": 0,
    "allowedFeatures": 0,
    "allowedActivations": 0,
    "allowedTrialActivations": 0,
    "allowedReleases": 0,
    "allowedProductSpace": 0,
    "allowSendingDomain": true,
    "amount": "string",
    "allowCustomerPortalAccess": true,
    "allowOrganizationAdmins": true,
    "allowOfflineActivations": true,
    "allowHostedFloatingLicenses": true,
    "allowOnPremiseFloatingLicenses": true,
    "allowCustomDomain": true,
    "allowResellers": true,
    "allowSso": true,
    "allowCustomRoles": true,
    "allowLegacyCustomRoles": true,
    "allowEventLogs": true,
    "allowAuditLogs": true,
    "allowCustomEmailTemplates": true,
    "allowMaintenancePolicies": true,
    "allowActivationLogs": true,
    "activationLogsRetentionPeriod": "string",
    "deprecated": true,
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z"
  },
  "companyId": "string",
  "accountAlias": "string",
  "region": "string",
  "paymentMethod": "string",
  "psp": "string",
  "totalTrialExtensions": 0
}