Error
A valid request URL is required to generate request examples{
"actorId": "user-julie",
"roleId": "cashier",
"scope": {
"level": "franchise",
"franchiseId": "solya"
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Team
Revoke a scoped role from a team member
REVOKES one built-in RBAC role grant from a member at an access scope — the mirror of assignTeamMemberRole. roleId is the built-in role id; storeId must match the scope the grant was made at (omit it to revoke the network-wide/franchise grant). This NARROWS what the account can do — a security-posture change — so only revoke on an explicit instruction. 404 when the member holds no such (role, scope) grant. Returns the revoked grant.
DELETE
/
v1
/
team
/
{memberId}
/
roles
Error
A valid request URL is required to generate request examples{
"actorId": "user-julie",
"roleId": "cashier",
"scope": {
"level": "franchise",
"franchiseId": "solya"
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123,
"fieldErrors": [
{
"field": "<string>",
"message": "<string>"
}
]
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}{
"error": {
"code": "VALIDATION_FAILED",
"message": "<string>",
"statusCode": 123
}
}Authorizations
Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.
Path Parameters
The team-member id to act on, e.g. user-julie.
Minimum string length:
1Body
application/json

