# Delegation

{% openapi src="<https://raw.githubusercontent.com/iSHAREScheme/openapi/v2.0/ishare_openapi_spec.yaml>" path="/delegation" method="post" %}
<https://raw.githubusercontent.com/iSHAREScheme/openapi/v2.0/ishare_openapi_spec.yaml>
{% endopenapi %}

### Request

#### Headers

* `Authorization`\
  **String**.\
  OAuth 2.0 authorization based on bearer token. MUST contain “Bearer “ + access token value. How to retrieve the access token can be found at [Access Token Endpoint section](https://dev.ishare.eu/version-2.0.1/ishare-satellite-role/access-token-m2m).
* `Content-Type`\
  **String**.\
  Defines request body content type. MUST be equal to *application/json*.

#### Parameters

Request parameters are explained at [Delegation Mask section](https://dev.ishare.eu/version-2.0.1/reference/delegation-mask).

### Response

Decoded `delegation_token` JWT payload is explained at [Delegation Evidence section](https://dev.ishare.eu/version-2.0.1/reference/delegation-evidence).

{% hint style="info" %}
***Note***

*This page must be considered part of the iSHARE Trust Framework*
{% endhint %}
