Skip to content
Navigation

Frees one of a license's devices, so it stops counting toward the activation limit, whatever the license's status.

POST
https://api.sherpo.io/merchant/v1/stores/{store}/products/{product}/licenses/{license}/activations/{activation}/deactivate

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • product
    string
    required

    An id, or slug:<slug>.

    minLength: 1
  • license
    string
    required
    minLength: 1
  • activation
    string
    required
    minLength: 1

Header parameters

  • Idempotency-Key
    optional
    string

    Repeats within 24 hours answer the first result; the same key with other arguments is a conflict.

    maxLength: 255 · minLength: 1 · pattern: ^[\x21-\x7E]+$

Request body JSON optional

Returns

200

Frees one of a license's devices, so it stops counting toward the activation limit, whatever the license's status.

JSON
  • activation
    object
    required
    • id
      string
      required
    • license_id
      string
      required
    • name
      required

      One of the following:

      • string
      • null
    • status
      string
      required

      active counts toward the limit; inactive went unseen past the product's inactive days; deactivated was freed.

    • created_at
      string
      required
    • activated_at
      string
      required
    • last_seen_at
      string
      required
    • deactivated_at
      required

      One of the following:

      • string
      • null
    • deactivated_by
      required

      Who freed it: customer, merchant or software; null while not freed.

      One of the following:

      • string
      • null
  • activations
    object
    required
    • count
      number
      required
    • limit
      required

      One of the following:

      • number
      • null
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close