Skip to content

Latest commit

 

History

History
55 lines (48 loc) · 1.39 KB

disassociating-user-with-the-hedera-token.md

File metadata and controls

55 lines (48 loc) · 1.39 KB

Disassociating User with the Hedera Token

{% swagger method="put" path="" baseUrl="/tokens/push/{tokenId}/dissociate" summary="Disassociates the user with the provided Hedera token." %} {% swagger-description %} Disassociates the user with the provided Hedera token. Only users with the Standard Registry role are allowed to make the request. {% endswagger-description %}

{% swagger-parameter in="path" required="true" name="tokenId" type="String" %} Token ID {% endswagger-parameter %}

{% swagger-response status="202: Accepted" description="Accepted" %}

{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Task'
}

{% endswagger-response %}

{% swagger-response status="401: Unauthorized" description="Unauthorized" %}

{
    // Response
}

{% endswagger-response %}

{% swagger-response status="403: Forbidden" description="Forbidden" %}

{
    // Response
}

{% endswagger-response %}

{% swagger-response status="422: Unprocessable Entity" description="Unprocessable Entity" %}

User not registered

{% endswagger-response %}

{% swagger-response status="500: Internal Server Error" description="Internal Server Error" %}

{
    content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
}

{% endswagger-response %} {% endswagger %}