Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,523
Community Members
 
Community Events
185
Community Groups

How do I specify the type of space I want to create when creating spaces via the API?

I'm able to create a generic space using the API, but I want to be able to specify that they are 'Knowledge base' spaces.  I'm able to do this via the WebUI but I'm having trouble identifying where to specify the space type in the API even after checking all the documentation I can find.  

This is what I'm using for the API Space creation and it works, I just can't specify 'Knowledge base' as the type of space I want to create.  Please help.  Thanks

curl --request POST \
--url 'https://<domain>/wiki/rest/api/space' \
--header 'Authorization: Basic xxxxxxxx' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"key": "SPACEKEY",
"name": "SPACE TITLE",
"description": {
"plain": {
"value": "SPACE DESCRIPTION"
}
}
}'

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events