Create Topic via API behalf of another user

Is this possible create topic via API behalf of user but that user not create a topic by dashboard.

With an “All Users” api key you can pass in the username of the user you want the topic to be created for.

curl -i -sS -X POST "http://localhost:3000/posts.json"  \
-H "Content-Type: multipart/form-data;"  \
-H "Api-Key: 079fb2bb12d...all-users-api-key"  \
-H "Api-Username: any-username"  \
-F "title=9c02314d4a5 3ce4e754374 c42066df84d"  \
-F "raw=7d7225b7704b973e2e352605219fce44 4328e51d07fcbe6f3d709ef54c7a0a10 78fab042da69066d242cea6c8f3b13e1"

I’m not sure what you mean by “not create a topic by dashboard”.

5 Likes

Thanks Blake
I mean user not create a topic by interface ,Only admin will create topic by API behalf of user

.

If i set trust level of user then admin not able to create topic behalf of user.