reject_delegation_request¶
Operation¶
reject_delegation_request
¶
reject_delegation_request(request: RejectDelegationRequestInput | RejectDelegationRequestInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RejectDelegationRequestInputDict]) -> RejectDelegationRequestOutput
Rejects a delegation request, denying the requested temporary access.
Once a request is rejected, it cannot be accepted or updated later. Rejected requests expire after 7 days.
When rejecting a request, an optional explanation can be added using the
Notes request parameter.
For more details, see Managing Permissions for Delegation Requests.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
RejectDelegationRequestInput | RejectDelegationRequestInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[RejectDelegationRequestInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RejectDelegationRequestOutput
|
An instance of |
reject_delegation_request
async
¶
reject_delegation_request(request: RejectDelegationRequestInput | RejectDelegationRequestInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[RejectDelegationRequestInputDict]) -> RejectDelegationRequestOutput
Rejects a delegation request, denying the requested temporary access.
Once a request is rejected, it cannot be accepted or updated later. Rejected requests expire after 7 days.
When rejecting a request, an optional explanation can be added using the
Notes request parameter.
For more details, see Managing Permissions for Delegation Requests.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
RejectDelegationRequestInput | RejectDelegationRequestInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[RejectDelegationRequestInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
RejectDelegationRequestOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
RejectDelegationRequestOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for RejectDelegationRequestOutput structure.