Authorization

Check authorization

Changed on
post/api/v2/authcheck

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/authcheck
  • Auth
    API key in header Coder-Session-Token

Request body

checksobject

Checks is a map keyed with an arbitrary string to a permission check. The key can be any string that is helpful to the caller, and allows multiple permission checks to be run in a single request. The key ensures that each permission check has the same key in the response.

Response

OK

CodersdkAuthorizationResponse required

Changes