# Manage API Token

{% hint style="danger" %}

## Project Management API is disabled from Feb 1st, 2023 onwards, so any request made to this en point will fail

{% endhint %}

This API allows you to disable / enable / delete API tokens

## Manage API Token

<mark style="color:green;">`POST`</mark> `https://pickyassist.com/app/api/v2/pm/manage-api-token`

This API allows you to disable / enable / delete API tokens

#### Request Body

| Name        | Type   | Description                                                                               |
| ----------- | ------ | ----------------------------------------------------------------------------------------- |
| token       | string | Your Master API Token for authentication                                                  |
| project\_id | number | Project Id in which the API needs to be generated                                         |
| api\_token  | string | API token to be disabled / enabled / deleted                                              |
| action      | number | <p>Pass what action needs to be taken <br><br>1 = Disable<br>2 = Enable<br>3 = Delete</p> |

{% tabs %}
{% tab title="200 " %}

```
{
   "status":100,
   "message":"Success"
}
```

{% endtab %}
{% endtabs %}

## Response Variables&#x20;

| Variable | Type    | Description                                                                                                                                                         |
| -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| status   | numeric | <p>Status of the Request </p><p></p><p>100 = Sucess</p><p></p><p>Refer <a href="../references/status-and-error-codes">Error Codes</a> for complete Status Codes</p> |

## Sample Request Body JSON

```javascript
{
   "token":"erererewrwercvcv",
   "project_id":7715,
   "api_token":"erewrercxvcvcxvcxv",
   "action":1
}
```

## Sample Response

```javascript
{
   "status":100,
   "message":"Success"
}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pickyassist.com/api-documentation-v2/project-management-api/manage-api-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
