Skip to content

Admin ​

List the stores your account has access to and their membership details.

MethodPathDescription
GET/v1/admin/membershipsList user memberships

List user memberships

GET /v1/admin/memberships

Returns the current user's store memberships. Each membership includes the store ID, name, slug, and the user's role. Requires JWT (admin) authentication.

Request

curl https://api.hydrajs.dev/v1/admin/memberships \
  -H "Authorization: Bearer sk_YOUR_KEY"

Response 200

{
	"data": []
}