---
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: >-
  eJzdVt9v4zYM/lcIPt0BXpr+evFbd9dhHfZQ3PWwA9qiYCwm1lWWXIlumwX+3wfKbpo0wTYM2A5YHhxHocSPHz+SWqHhVEXbig0eS/zIjoUTBM8Q5rAMXYSWYwqeHFBVcUog4Z59msCFQJLQJngK8d76BUS7qAXoiZYFWF+5zugq+eXWTiAXmcwSbEodG3iyUoOVyY3HAkPLkRTLhcESW5LSZERYoNAiYXmNl3vh4G2BiasuWllieb3CGVPkeNZJjeX1bX9bYEuRGhaOKRt4ahhLtAYLtH7wVmPxhpCrmqHz9qFjsIa92LnlCPMQQWreT80QSeSHzkY2WErsuMBU1dwQliuUZZsde+EFR+wL5GdqWsdYHh4dnyjUyKkNPnFS+6PpiX7t4lqTBU+UIHUZw7xzEz3z5OvX3V0fnGUvwDGGCGsnYDoGCWD9IzlrwPq2EwgRGpuSpvCVuQkWWAUv7EVPp7Z1tsoYDr4ldbHaDTTMvnElW5RcYxKSLn0IRlOb8WCBDadEC9ZctlGjEztQsGG9S+DblP18dXUJww6ogmGI3EZOmjy/yGlLLVd2biuoNvl4x5PFpICT6VQfh/o41sfJe416naOT6bRXErawJInWL3agnEFDVW09/6CSp5nj0VfGJTUJVCS8CNH+zmnAxvFRFUbWdZG3POOMzJ2SyEmybDJtfwPELFqeF1B3DflXJBtWWuvqfACnx72wcYM/koFPg9Mb1IUvnjqpM2Rzg9vkbForxJeM/jVIY6y+kgPDQtYloFno5BXWth/V/0hFVn9Dbh5iwwYyu17IejZrSW8quM+fAk/3Vcjngf63FWK9yTrP/WzoXBB8Bnd2eQHJGv6flUbaJGIUw6mWxun0SB/H24k//X5VocFGT+5uMLobKPvP6uNidA+jdM7VZqgUXbEVwxdPj2SdnrpTMHu3/6ulc+ah8/zcciVsxpBCVXUxspnApWNKDBKXQAuyHhwJx5eqybikDjqd15M5D84SD1qSg5U1Peoo1mCGQdtFhyXWIm0qDw6otRPfOdc6Eq3YSRUa7Dem92ctkkHbmzN8zYIehOM8zU0xG2ExvvwUYkOCJf7y2xUqXuvnQbcrnoGww8l0MtUbhZWBkLGd5WJV6tuQpKFcsuMtYbgXAe2f+G9TsnptBN/9RjWyJvwsB60jmwPMKVmNibvWbyywtEbbSx2S6OJqNaPEX6Lre11+6Djqzeq2wEeKVrWcs2ts0neD5Zxc4j9h4t2nscm9h398q9obzbhIfokKznX6Cwu85+Vwwetv+wJrJsMxYx7+OKsqbmVjy07LVlmu5f7x/Nfzq3MskLb1+EZ/2cFeRKvVYHGl4fT9GuAgof627/s/AD4KAsA=
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":"Client error responses due to invalid input or missing parameters.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific client error (e.g., 400, 401, 403, 404).","example":400},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"bad_request"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Bad Request\", \"Unauthorized\").","example":"Bad Request"},"message":{"type":"string","description":"Additional details about the error.","example":"The request was malformed or contained invalid parameters."}}}}}},"5XX":{"description":"Server error responses indicating an issue on the API side.","content":{"application/json":{"schema":{"type":"object","required":["statusCode","error","message"],"properties":{"statusCode":{"type":"integer","description":"HTTP status code representing the specific server error (e.g., 500, 502, 503).","example":500},"code":{"type":"string","description":"A machine-readable error code that categorizes the server failure.","example":"internal_server_error"},"error":{"type":"string","description":"A brief, human-readable description of the error type (e.g., \"Internal Server Error\", \"Service Unavailable\").","example":"Internal Server Error"},"message":{"type":"string","description":"Additional details about the error.","example":"An unexpected error occurred. Please try again later."}}}}}}}}
>

</StatusCodes>

