Parameters
| Parameter | Type | Description |
|---|---|---|
options | CreateDelegationOptions | Options for creating the delegation. |
Returns
Promise<CreateDelegationResult>
The delegation ID.
Throws
IfexpiresAt is not a valid date or is not in the future.
| Parameter | Type | Description |
|---|---|---|
options | CreateDelegationOptions | Options for creating the delegation. |
Promise<CreateDelegationResult>
The delegation ID.
expiresAt is not a valid date or is not in the future.