> For the complete documentation index, see [llms.txt](https://geolytix.gitbook.io/xyz-developer-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://geolytix.gitbook.io/xyz-developer-guide/routes/auth/user/auth-user-approve.md).

# /approve

## user account approved.

<mark style="color:blue;">`GET`</mark> `geolytix.xyz/auth/user/approve/:token`

This endpoint is only accessible as a redirect from the login form. The redirect must bear a valid admin access token.

#### Path Parameters

| Name  | Type   | Description                                                                           |
| ----- | ------ | ------------------------------------------------------------------------------------- |
| token | string | An approval token which must match the user account approval token stored in the ACL. |

{% tabs %}
{% tab title="200 Returned if the approval process was success" %}

```
'The account has been approved by you. An email has been sent to the account holder.'
```

{% endtab %}

{% tab title="204 Returned if the approval token was not found in the ACL." %}

```
'Token not found. The token has probably been resolved already.'
```

{% endtab %}
{% endtabs %}
