users
Add base_subscriber role for a User
Changed onAssign the base_subscriber role to a user.
Base Subscriber Details:
- Requires an admin role or the super_moderator role.
- Uses the same path as granting "Base Subscriber" in the admin UI: adds the role, adds a note to the user, and sends the user the base subscriber email.
- Idempotent: if the user already has the role, nothing changes (no note, no email) and the response is still 204.
put/api/users/{id}/base_subscriber
Request
- Base URLhttps://dev.to
- Auth
- API key in header api-key
- or HTTP bearer
Path parameters
idinteger required
The ID of the user to assign the base_subscriber role.
Response
base_subscriber role assigned to the user successfully
Changes
- info
endpoint added
- info