Remove part
DELETE
/api/v1/parts/{part_id}
const url = 'https://app.ayna.com/api/v1/parts/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://app.ayna.com/api/v1/parts/example \ --header 'Authorization: Bearer <token>'Remove a part.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”part_id
required
Part Id
string
Responses
Section titled “Responses”OK
Media typeapplication/json
Response
object
key
additional properties
any
Example generated
{}