cURL
curl --request POST \ --url https://api.scholarlysoftware.com/api/v1/institutions/{institution_id}/profiles \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/vnd.api+json' \ --data '{ "data": { "type": "profile", "attributes": { "display_name": "<string>" } } }'
{ "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "profile", "attributes": { "display_name": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "created_at": "<string>", "updated_at": "<string>" }, "relationships": { "institution": { "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "institution" } }, "current_department": { "data": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": "department" } } } } }
Non-admin users cannot create profiles
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Bearer token
Institution UUID
profile created
The response is of type object.
object