Skip to content
Console
Menu

Queues

Workflows

Getting Started

Authentication

KV Store

Get control on a lease

Gets who holds control of a lease's display.

Gets who holds control of a lease's display.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/leases/lease:getControl
  • Scope sandboxes:read
  • Effect read — nothing is written.
  • Collection leases

#Request

FieldTypeWhat it is
namestringThe name of the lease. Required.

#Response

FieldTypeWhat it is
holderControlHolderWho holds control; UNSPECIFIED when nobody does (agent actions allowed). Output only. One of agent, human.
epochint64Increases on every acquire; release names it. Output only.
principalstringThe Access principal that acquired control. Output only.
holder_labelstringThe caller's label for the person or agent, for example a user id. Output only.
acquire_timetimestampWhen control was acquired. Output only.
expire_timetimestampWhen control lapses unless re-acquired. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/leases/lease:getControl" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"