> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cocoondata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# <access-service>/api/v1/users/me/expire

## URL structure&#x20;

```text theme={null}
https://access-service.xy-company.com/api/v1/users/me/expire
```

## Supported methods and overview&#x20;

* `PUT` - used to [invalidate all valid refresh tokens](/3.3/user/managing-your-account.md#terminating-your-user-accounts-sessions) associated with the [Covata user](/3.3/api/authentication-and-authorisation.md) whose [access token is submitted in the request](/3.3/api/access-service-api-v1-users-me-expire.md#access-service-api-v1-users-me-expire-supported-roles) to this endpoint.

> [!NOTE]
>
> This method takes no parameters.

## Detailed description&#x20;

This API endpoint invalidates all valid refresh tokens associated with the Covata user whose access token is submitted in the request to this endpoint.

If this request succeeds, all valid refresh tokens associated with this Covata user are invalidated. Every other active session this Covata user has with the Covata Platform will terminate once these sessions' access tokens expire.

Passing any invalidated access token in the header of requests to any Covata API endpoint will cause these requests to fail.

## Supported roles&#x20;

This API endpoint supports requests utilizing Covata user accounts with the following roles (as described in the [Safe Share Administrator's](/3.3/admin-platform/administering-platform-administrator-users.md#platform-administrators-and-user-roles) and [Organization Administrator's](/3.3/admin-org/administering-users-within-an-organisation.md#an-organisation-users-roles) Guides):

* [Originator](/3.3/admin-org/administering-users-within-an-organisation.md#originator-role)
* [Collaborator](/3.3/admin-org/administering-users-within-an-organisation.md#collaborator-role)
* [Ad hoc](/3.3/admin-org/administering-users-within-an-organisation.md#adhoc-role)
* [Safe Share administrator](/3.3/admin-platform/administering-platform-administrator-users.md#platform-administrator-role)
* [Organization administrator](/3.3/admin-org/administering-users-within-an-organisation.md#organisation-administrator-role)

The Covata Platform's resources available to one of these Covata users (above) is determined by the access token submitted in the [header](/3.3/api/access-service-api-v1-users-me-expire.md#access-service-api-v1-users-me-expire-required-headers) of requests to this endpoint.

## Required headers&#x20;

The appropriate access token as the `Bearer` token:

* `Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...`

## Returns&#x20;

If the request succeeded, then an HTTP response status `200 OK` is returned.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.