mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-20 14:34:25 +00:00
# Which Problems Are Solved
- Adds support for the user delete SCIM v2 endpoint
# How the Problems Are Solved
- Adds support for the user delete SCIM v2 endpoint under `DELETE
/scim/v2/{orgID}/Users/{id}`
# Additional Context
Part of #8140
17 lines
428 B
Go
17 lines
428 B
Go
package scim
|
|
|
|
import (
|
|
"github.com/zitadel/zitadel/internal/api/authz"
|
|
"github.com/zitadel/zitadel/internal/api/http"
|
|
"github.com/zitadel/zitadel/internal/domain"
|
|
)
|
|
|
|
var AuthMapping = authz.MethodMapping{
|
|
"POST:/scim/v2/" + http.OrgIdInPathVariable + "/Users": {
|
|
Permission: domain.PermissionUserWrite,
|
|
},
|
|
"DELETE:/scim/v2/" + http.OrgIdInPathVariable + "/Users/{id}": {
|
|
Permission: domain.PermissionUserDelete,
|
|
},
|
|
}
|