---
id: pat-delete
title: Delete a personal access token
description: >-
  Deletes one of your personal access tokens. It stops working right away,
  including any access token already issued with it.
sidebar_label: Delete a personal access token
hide_title: true
hide_table_of_contents: true
api: >-
  eJztWFFv2zYQ/isHvrTFFCXtUgzTW7CkaIZuCRJnLZAF9Vk6R6wlUiVPdjxD/304Unbs2GuDDdsyYE+2ZZL33d133x21UAX53OmGtTUqU8dUEZMHawjsGOa2ddCQ89ZgBZjn5D2wnZDxKZwyeLaNh5l1E21uwenbkgFnOE9Am7xqC3mKZr6xE7ByhMUctPctFTDTXILm9FejEmUbcihYTguVqQY5KwIilSjGW6+ya3W+E466SZSnvHWa5yq7XqgRoSN31HKpsuub7iZRDTqsicn5sMBgTSpTulCJ0iZaK1XyICCDkqA1+nNLoAsyrMeaHIytAy5pd2iiJ44+t9pRoTJ2LSXK5yXVqLKF4nkTDBumW3KqSxTdYd1UpLKXr749FKiOfGONJy/rXx0cysc2rlWwYIYefBswjNsqlTMPP3zYvUuAkWfIbVsV5hnDiKBxVvZSkcIb66DHkwDCKmigPWgzxUoXSfDdkbetywkKS17OoTvtOQHrhDZQWHlW4jREqdbea2tSEAQjG7Ivpzs7qqiGghh15cGOPlHO8PzizQ/w/eHr716kKlG5NUyGxRtsmkrnwef9fu83n7y4ttgOcDxsK6PH4deIPMxKZJiRYZg5a24TGNuqsjMhrTi4BLGFcmxdjZxuJPk6Wk0Ua67k0zNyG2jZOEkU65jNCG4F0rPT5nYL5BFcXZwCC8AV7XxANdGmkNLsQUkZPvOAZo2eCRjLgFBpM0kATQFa1shujzUBTcnNgXVNwKX2K/9snrfOi18rQqrWmcy0VdVUyOJ3Rs5ZlznbMvm9kqqGXNbzYi+QxQv7YhQe4aYvreMEyrZGsye6gKOKwLd1jW4ufoYy633dQDYoyRGgoyUt77kq+tVzNHBdEPX52K6/XRX/djA4h7gDclvQEsiyLjeQHB4cdMLS4nEOs3iYQI15qQ3d+xwCG6ylcOUJNANbKNEUEpCGcj3WeVwllRi1OTgRReBB4i7OrgYnlx/fnrw7P7lIT3/+5ejd6fHH86OLo58uJR6RzLsQS7oF0VK5Nj34yYaIxxoQ7cGRbflhLQnAwK0+AwnMSpH+Kepw9gZWMSgqGFxbQ4TO4XwrhGeGgAy7uejKKvdjTVUh2rMiQQpnpppD48gLLGsgrIygoy1BoZlqv0s1Nss2nP/1/Ap5pLEsCfMFeBvZWhO2j7qQ/GjzdWvvQwmInXh+aANkOIOhaOwwgeHnlpx8sQ6GsTyH8Fw63Vq1vNjEErYECNKgH4MCRV5i3kM3XyFKpCuVgB6GS6kcBih9XIablvunYnuKVbS9Hd/wV9TGpcM9vRxVNEXDm6cay3u4Z9p6FLttTd7j7aOK9YEs0V1ToYkMWiZYYpSqruu+dnLjKEe+Hwg2bV0KaaJnEq2gn8MEJtRwmDZGmE9m6ArIbd0g65GuNM+jUvSrQ2BFP4agjWfC4i8JJjvM6fQRnD8y26PRFyofTsNoGAQu/CXTgvR4zBnWWw34tmms4xhdie/rXTPNpa2JS2naa/JjzcZRzzx4LcL6//jx3xo/QnPJRhWayT80VpzZxqep/O8o6Iv4ZpicjPmhbfy908TrJzNNPMkh4WlL7OPI8+SUNcSVSyt37tV9O1yHM7XfIO8vdNGJqJCbLq/PratUpkrmxmf7+9jodN1CmttadWt38kuRxyhB6zfzVQTkINXfkuV3XKSS/subwCSVqR/fD1QXxqOxle2CJwbrZXqQHqwUMFNiwDr9WyCghL2xnmsMYt3f/ePbDmkEu+7xD9OxuG8F//p7kj5qTHe831Sog4MhJYs+cdfyqRKV6UK6QGk9y8PFYoSerlzVdfI4znrZ9Y1MXE7Hir5eqEJ7+V6obIyVf1hK65F4ftE3oRfwp9+V7PRmeQkwcgXox0GlEjWheXxt0910iSoJC3IBc/zjKM+p4bUtf9i0hZ4r2h+fvDsZnKhE4SYvH/AwGNqJbLGIKwbiVtetgEYqdTdd1/0OftTM4Q==
sidebar_class_name: delete api-method
info_path: docs/api/authorization
custom_edit_url: null
canonical: 'https://docs.nullplatform.com/docs/api/pat-delete'
---
<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Delete a personal access token"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/pat/{id}"}
  context={"endpoint"}
>

</MethodEndpoint>

Deletes one of your personal access tokens. It stops working right away, including any access token already issued with it.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"name":"id","in":"path","description":"The unique identifier for the personal access token.\n","required":true,"schema":{"type":"integer"},"example":1234}]}
>

</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>

</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"The operation was successful."},"4XX":{"description":"The request couldn't be processed. For example, a parameter is invalid, the resource doesn't exist, or you don't have permission. The body is a problem details object (RFC 9457).","content":{"application/problem+json":{"schema":{"type":"object","description":"Describes what went wrong, following the RFC 9457 problem details format.","required":["type","title","status"],"properties":{"type":{"type":"string","description":"A URI that identifies the kind of problem. It's an identifier, not a link, and it's the same every time this problem occurs.","example":"urn:nullplatform:error:routes-helper:invalid-params"},"title":{"type":"string","description":"A short, human-readable summary of the problem.","example":"There are invalid parameters on the request"},"status":{"type":"integer","description":"The HTTP status code of the response.","example":400},"code":{"type":"string","description":"A stable, machine-readable error code. Use it to handle specific errors in your integrations.","example":"ROUTES_HELPER.INVALID_PARAMS"},"detail":{"type":"string","nullable":true,"description":"More information about what went wrong in this request, when available.","example":null},"errors":{"type":"array","description":"One entry per invalid field or parameter. Only present on validation errors.","items":{"type":"object","properties":{"field":{"type":"string","description":"The name of the invalid field or parameter.","example":"application_id"},"in":{"type":"string","description":"Where the field was sent: `body`, `query`, or `params` (path parameters).","example":"query"},"issue":{"type":"string","description":"What's wrong with the field, such as `required` or `invalid`.","example":"invalid"},"value":{"description":"The value that was sent, when relevant.","example":"not-a-number"},"message":{"type":"string","description":"A human-readable explanation of the issue."}}}},"message":{"type":"string","deprecated":true,"description":"Same value as `title`, kept for backward compatibility. Use `title` or `code` instead.","example":"There are invalid parameters on the request"},"traceId":{"type":"string","description":"An identifier for this request, when available. Include it when you contact nullplatform support."}}}}}},"5XX":{"description":"Something went wrong on nullplatform's side. The body is a problem details object (RFC 9457).","content":{"application/problem+json":{"schema":{"type":"object","description":"Describes what went wrong, following the RFC 9457 problem details format.","required":["type","title","status"],"properties":{"type":{"type":"string","description":"A URI that identifies the kind of problem. It's an identifier, not a link, and it's the same every time this problem occurs.","example":"about:blank"},"title":{"type":"string","description":"A short, human-readable summary of the problem.","example":"Oops.. there was an internal error"},"status":{"type":"integer","description":"The HTTP status code of the response.","example":500},"code":{"type":"string","description":"A stable, machine-readable error code. Use it to handle specific errors in your integrations."},"detail":{"type":"string","nullable":true,"description":"More information about what went wrong in this request, when available.","example":null},"message":{"type":"string","deprecated":true,"description":"Same value as `title`, kept for backward compatibility. Use `title` or `code` instead.","example":"Oops.. there was an internal error"},"traceId":{"type":"string","description":"An identifier for this request, when available. Include it when you contact nullplatform support."}}}}}}}}
>

</StatusCodes>

