Add Repository Member
POST https://api.repoflow.io/1/workspaces/<workspace-ref>/repositories/<repository-ref>/members
Add a user's permissions in a repository. Use this to grant a single repository permission level for a specific repo. If you omit the level, it is treated as none (no repo permissions).
Allowed Roles: Can manage, Can Deploy • Authentication Required
Path Parameters
workspace-refstringRequired
Workspace ID or name.
repository-refstringRequired
Repository ID or name.
Body
userIdstringRequired
User ID to grant access to.
repositoryPermissionLevel"canRead" | "canDeploy" | "canDeleteOverride" | "none"Optional
Repository permission level to grant. If omitted, defaults to none (no repository-level permissions).