Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
brainsailerB

brainsailer

@brainsailer
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Some problems with API - PUT user in groups
    brainsailerB brainsailer

    @girish said in Some problems with API - PUT user in groups:

    {"groupIds":["gid-3e96c503-d30f-4db8-aa37-ecaf98fa33fa"]}

    Thank you, works fine. It was a spelling-error in the "content-type" .

    Support api

  • Some problems with API - PUT user in groups
    brainsailerB brainsailer

    Why 2 different ways for the same thing?

    1. https://my.example.com/api/v1/groups/{groupId}/members
      2.https://my.example.com/api/v1/users/{userId}/groups

    ..but both are not working. I tried all: normal arrays, nested arrays, array with 2 members. Error messages:

    1. "missing or invalid userIds fields"
    2. "API call requires a groups array."

    Example:
    {
    "groupIds": [
    "gidXXXXXXXXX"
    ]
    }

    Maybe the API documentation is wrong?

    Support api
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search