A delegation grant was created
POST
Delivered as a CloudEvents 1.0 envelope whose data is a DelegationGrant. Batched ≤ 20 per delivery as a JSON array; signed with Sweep-Signature.
Request Body
Section titled “Request Body”Media typeapplication/json
Array
object
specversion
required
string
id
required
Prefixed ULID (evt_…)
string
source
required
string
type
required
Event type from events.json, e.g. sweep.execution.completed
string
time
required
string format: date-time
subject
Primary resource id
string
datacontenttype
string
data
required
object
key
additional properties
sweepsimulated
CloudEvents extension: true in developer test mode.
boolean
type
required
data
required
Versioned user delegation grant constraining what a principal may do on behalf of a user.
object
id
required
Prefixed ULID (grt_…)
string
version
required
integer
userId
required
string
tenantId
required
string
principalId
required
string
status
required
string
createdAt
required
string format: date-time
operations
required
Array<string>
actions
required
Array<string>
sources
One of:
Array<string>
null
containers
One of:
Array<string>
null
assetKinds
One of:
Array<string>
null
allowedDestinations
One of:
Array<string>
null
allowExternalDestinations
boolean
allowDestructive
boolean
allowAutomatic
boolean
requireShadowPlan
boolean
requireHumanApprovalAbove
string
minConfidence
number
Responses
Section titled “Responses”Acknowledge with any 2xx within 10 seconds