---
title: "Get smb usersgroups authorization resource"
method: GET
path: "/api/smb/usersgroups/{users_groups_id}"
tags: ["SMB"]
---

# Get smb usersgroups authorization resource

`GET /api/smb/usersgroups/{users_groups_id}`

Get Users and groups resource

        :return: Returns join auth.
        :rtype: Dict

## Path parameters

- `users_groups_id` string, required

## Response `200`

OK

- object
  - `intent` string, required — Desired state of the resource, e.g., 'present' or 'removed'
  - `linked_to_cluster` string, required — Optional string containing a cluster ID. If set, the resource is linked to the cluster and will be automatically removed when the cluster is removed
  - `resource_type` string, required — ceph.smb.usersgroups
  - `users_groups_id` string, required — A short string identifying the usersgroups resource
  - `values` object, required — Required object containing users and groups information
    - `groups` object[], required — List of group objects, each containing a name
      - `name` string, required — The name of the group
    - `users` object[], required — List of user objects, each containing a name and password
      - `name` string, required — The user name
      - `password` string, required — The password for the user

## Other responses

- `400` — Operation exception. Please check the response body for details.
- `401` — Unauthenticated access. Please login first.
- `403` — Unauthorized access. Please check your permissions.
- `500` — Unexpected error. Please check the response body for the stack trace.

---

[API](https://skmtc.net/ceph/apis/ceph-rest-api.md) · [All operations](https://skmtc.net/ceph/apis/ceph-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ceph/ceph-rest-api/versions/b03ae23c3806/schema)
