Create access for office staff
POST /admin/office-staffs/{staffID}/accesses
POST
/admin/office-staffs/{staffID}/accesses
Creates an access for an office staff
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” staffID
required
string
Staff ID
Request Body
Section titled “Request Body ”Access
object
entityID
string
01930a67-a5da-7ccb-9449-110a07c059fa entityType
string
group roleID
string
01930a67-a5da-7ccb-9449-110a07c059faResponses
Section titled “ Responses ”OK
object
createdAt
string
2024-11-08T06:14:54.678924Z entityID
string
01930a67-a5da-7ccb-9449-110a07c059fa entityType
string
group id
string
01930a67-a5da-7ccb-9449-110a07c059fa roleID
string
01930a67-a5da-7ccb-9449-110a07c059faBad Request
object
error
string
some meaningful error messageUnauthorized
object
error
string
some meaningful error messageForbidden
object
error
string
some meaningful error messageNot Found
object
error
string
some meaningful error messageInternal Server Error
object
error
string
some meaningful error message