Member Groups
BASE URL: https://api.umbraco.io
Table of Contents
Common Headers
Authentication
Auth is required for this API meaning that you must supply a Bearer Token via an Authorization header or an API Key via an Authorization or Api-Key header.
Errors
If an error occours you will receive a HTTP status code along with an API error code and an error message in the response body.
Status Code | Error Code | Message |
---|---|---|
400 | BadRequest | Body cannot be empty. |
401 | Unauthorized | Authorization has been denied for this request. |
403 | Forbidden | You are not authorized to access the given resource. |
404 | NotFound | Member Group with name '{name}' could not be found. |
422 | ValidationFailed | Validation error occured when trying to save or update the member group. |
500 | InternalServerError | Internal server error. |
JSON example:
Get all
Get all Member Groups.
URL: /member/group
Method: GET
Permissions required : Access to Member section of the Umbraco Backoffice
Success Response
Code: 200
Content Example:
Get by name
Get a specific Member Group by its name.
URL: /member/group/{name}
Method: GET
Permissions required : Access to Member section of the Umbraco Backoffice
Success Response
Code: 200
Content Example:
Create member group
Create a new Member Group.
URL: /member/group
Method: POST
Permissions required : Access to Member section of the Umbraco Backoffice
Request
Success Response
Code: 201
Content Example:
Delete member group
Delete an existing Member Group.
URL: /member/group/{name}
Method: DELETE
Permissions required : Access to Member section of the Umbraco Backoffice
Success Response
Code: 200
Content Example:
DELETE https://api.umbraco.io/member/group/Elite%20Shoppers%20Group
Last updated