Skip to content

How many licences fall in each expiry window

GET
/api/licenses/windows
curl --request GET \
--url https://app.dycrypt.com/o/acme/api/licenses/windows \
--header 'Authorization: Bearer <token>'

A property of the organisation, not of the rows currently on screen, which is why it does not change as a caller pages through.

Window name to count.

Media typeapplication/json
object
key
additional properties
integer format: int64
Examplegenerated
{
"additionalProperty": 1
}

No credential, or one that no longer resolves — revoked, expired, deleted. Replace it.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}

Authenticated, but not allowed: a missing scope, a read-only role, a plan limit reached, or a credential used under another organisation’s slug. The right credential doing something it may not do.

Media typeapplication/json

Every failure in this API has this shape and no other.

object
error
required
string
Example
{
"error": "this token does not have licenses:write"
}