Artisyn API
  1. Artisans
Artisyn API
  • INTRODUCTION
  • Auth
    • OAUTH
      • Google
      • Google Callback
    • Login
      POST
    • Register
      POST
    • Verify Account
      PUT
    • Logout
      DELETE
    • Forgot Password
      POST
    • Reset Password
      PUT
  • Admin
    • Categories
      • List Categories
      • Create Category
      • Get Category
      • Update Category
      • Delete Category
  • Categories
    • List Categories
      GET
    • Get Category
      GET
  • Curator
    • Artisans
      • List Artisans
        GET
      • Create Artisan
        POST
      • Show Artisan
        GET
      • Update Artisan
        PUT
      • Toggle Activation
        PUT
      • Bulk Operation
        POST
      • Delete Artisan
        DELETE
  • Index
    POST
  1. Artisans

Delete Artisan

Developing
DELETE
http://127.0.0.1:3000/api/curator/artisans/{artisan_id}
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'http://127.0.0.1:3000/api/curator/artisans/' \
--data-urlencode 'archive=true'
Response Response Example
404 - Example 1
{
    "status": "string",
    "code": 0,
    "message": "string"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
artisan_id
string 
required
Body Params application/x-www-form-urlencoded
archive
boolean  | null 
optional
Set to true to archive the artisan instead of deleting.
Default:
false
Example:
true

Responses

🟠404Record Not Found
application/json
Body
status
string 
required
code
integer 
required
message
string 
required
🟢202Accepted
Previous
Bulk Operation
Next
Index
Built with