mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 11:53:40 +00:00
af09e51b1e
# 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,
|
|
},
|
|
}
|