Skip to main content

EditDelegationRequest

The EditDelegationRequest class represents a request to edit a delegation, extending BaseRequest. It includes properties to specify delegation details, such as type, dates, scope, and other relevant information.

Properties

NameDescription
SecretKeyThe secret key associated with the delegation to be edited.
EndDateDefines the end date of the delegation. If it's set to null, delegation won't have a expire date.
ScopeDefines the list of permission to can be allowed with delegation.
CreationTypeSpecifies the creation type for the delegation, indicating how it was generated or categorized.
TypeThe DelegationType enum defines the types of delegation available, specifying different modes of access or authorization. In this enum Delegation means this delegation given to spesific user with specific permissions that decided by user. On the other hand Token act like access token with spesific that decided by user.
PositionIdsA list of position IDs associated with the delegation given user positions.
NameDefines the multi language name of the delegation by culture.
BasedTypeSpecifies the basis type for the delegation, defining the origin or foundation of the delegation.
StartDateDefines the start date of the delegation.

Constructors

NameDescription
EditDelegationRequest()Initializes a new instance of the EditDelegationRequest class.
EditDelegationRequest(secretKey, name, type, startDate, endDate, scope, positionIds, creationType, basedType)Initializes a new instance of the EditDelegationRequest class with the specified details for editing the delegation.