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

Path parameters

idstring required

Request body

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

Response

No content

'null' nullable required

No content

Changes

Changed in 3 of the 49 revisions of this API.24

  • 940ef021e2d522See the full diff
    • ▲

      removed the enum value COMPANY_OWNER of the request property

      request-property-enum-value-removed

    • ▲

      removed the enum value EMPLOYEE of the request property

      request-property-enum-value-removed

    • ○

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

      request-property-enum-value-added

    • ○

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

      request-property-enum-value-added

    • ○

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

      response-media-type-added

    • ○

      endpoint added

      endpoint-added

Of the 49 revisions, 1 has no diff computed.