Skip to main content

Delete Account

DELETE 

https://secure.fleetio.com/api/v1/accounts/:id

Cancels an Account that belongs to your organization.

info

This endpoint is only usable by Fleetio partners with an Organization Token or Partner Token.

Request

Path Parameters

    id stringrequired

    Possible values: Value must match regular expression ^[0-9]+$

    The id of the relevant record

Header Parameters

    Partner-Token PartnerToken
    Organization-Token OrganizationToken

Responses

OK

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Prefix the value with "Token", for example: "Token 76cbe06c49a64".
You can generate a new API key [here](https://secure.fleetio.com/api_keys).
name: Account-Tokentype: apiKeyin: headerdescription: You can find your Account-Token [here](https://secure.fleetio.com/api_keys)
curl -L -X DELETE 'https://secure.fleetio.com/api/v1/accounts/:id' \
-H 'Authorization: Token <Authorization>' \
-H 'Account-Token: <Authorization>'
Request Collapse all
Base URL
https://secure.fleetio.com/api
Auth
Parameters
— pathrequired
— header
— header
ResponseClear

Click the Send API Request button above and see the response here!