Companies

Approves a pending join request, adding the requester to the caller's company with the chosen role.

post/api/companies/join-requests/{id}/approve

Request

  • Base URL
    https://api.retraced.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.retraced.com/api/companies/join-requests/{id}/approve
  • Auth
    none declared

Path parameters

idstring required

Request body

role'company-creator' | 'company-admin' required

Response

No content

'null' nullable required

No content

Changes

    • breaking

      removed the enum value COMPANY_OWNER of the request property

    • breaking

      removed the enum value EMPLOYEE of the request property

    • info

      added the new company-admin enum value to the request property

    • info

      added the new company-creator enum value to the request property

    • info

      added the media type application/json for the response with the status